html

Placing HTML Pseudo elements.

My css looks like this; p:not(.dummy):after { content: url(../../irhiddenchars/img/afterimage_9x9.gif); } I wish to take a taller (height) gif, but my lineheigth is increased when the css gets applied (even though there seems to be enough space for a bigger picture, line-height for a p-tag is 18px). Is it possible to place the pse...

Regex for html parsing in php

Possible Duplicate: RegEx match open tags except XHTML self-contained tags Hello, i m stuck in weird regex problem, i m parsing some html table in php regex i m using : <td[^>]*>(h.*?)</td> <td>other data</td> <td>other data</td><td>Data_needed</td> <td>--</td> but its matching all other data too now i want to match it t...

How to bind new functions for HTML Elements using jQuery?

Hello everyone. First of all a little background of my problem, i'm trying to identify how the user is navigating through the site, and i got a script (from an stackoverflow user, thanks a lot) called autoLogoff.js, it works very well until the point i'm trying to submit a form using javascript. Here's the autoLogoff code (with some mod...

static value in a form

I have a form with list of fields : last name email country message Before sending the form, i want to joint to it a static value : destination=marketing. i don't want it to be visible in my form. how would this be done ? ...

Browser password managers have me stumped

I am working on a login dialog to my site. To spare users the frustration of having to remember their login details, I want to cooperate with the built-in browser password managers. I have worked out that to get Firefox to play ball, I must use a plain-vanilla HTML Form. Fine, so be it. However, I will not transfer unencrypted passwo...

Clean Up JS Code clutter

I threw my portfolio together a few months ago and now I am trying to go back and clean up the code so that it is easier to add new items etc.. My main problem is that I am using the Alen Grakalic's Easy Slider Jquery plugin to simulate a browser window and everytime I want to add a new portfolio item, I have to add a new block of code...

How to submit a Form by using a textlink POST method

I'm new to PHP but was wondering how this can be done. I want to have submit an HTML form to another PHP page, but i dont want to use the ugly button. I want to use a link. The thing is, i see many solutions out there that uses Java Script/Jquery etc to solve this, Does any one know how to do this with PHP code and HTML only? ...

Removing Tags from HTML Parsed with BeautifulSoup

I'm new to python and I'm using BeautifulSoup to parse a website and then extract data. I have the following code: for line in raw_data: #raw_data is the parsed html separated into smaller blocks d = {} d['name'] = line.find('div', {'class':'torrentname'}).find('a') print d['name'] <a href="/ubuntu-9-10-desktop-i386-t314421...

Export to html file

I am using php and mysql. I want to fetch data from table and export the output to the html file. Can anyone please help me out in this issue? Thanks. ...

Problem encoding multibyte characters with Perl's HTML::Entities

$perl -e 'use HTML::Entities; print encode_entities("<te£st>");' &lt;te&Acirc;&pound;st&gt; I'm expecting to see: &lt;te&pound;st&gt; ...

Tidying PHP and HTML Code?

I wonder if anyone could please help me I have been using HTML tidy and eclipses built-in function to tidy up my code. I am having great trouble with the following situations... when HTML is split between files via includes, having result structured with correct indentations helps with debugging via browser tools. PHP and HTML when use...

CSS - "Reverse" Floating of Elements - how keep them at the bottom?

Hi there I'm currently facing an interesting CSS issue for which I couldn't find anything related on the web. I know it must be solvable, perhaps you guys crack the nut.. (?) Following problem: I need to display some icons in front of an image positioned at the bottom left. As the number of icons can vary, the icons are floated next to...

AJAX pop up question for ASP.NEt project

Hello, I have 2 pages. One of them shows Location Info and the other shows Company Info. If the user changes Location Info in page 1 and hits "Save" the page should throw a popup asking user if he wants to update company info as well. If he clicks yes, it has to update in both Company table and Location info. and if he hits No, it has ...

What does "href" stand for in HTML?

I understand what the "href" attribute in the anchor tag (<a />) is for, but what does the "h" stand for? ...

Validate HTML on local machine

I'm currently trying to learn HTML and Java EE Servlet programming. I have an application server running on my local machine (Orion Application Server) and I'm connecting to web pages I've deployed on this server using a browser running on the same machine, directed to http://localhost/mypage.htm (for example). I know W3C has a site yo...

Oracle metadata to store column titles/labels

Does Oracle have a column metadata for storing its printable friendly label? Say I have a column named prodDesc. I would like to be able to pull a column label such as "Product Description" for use in end reports & web pages. I plan to utilize the column size meta data as well so that when I generate an html form I can dynamically set th...

Limit Input text box with Jquery

So I need to have an input box in where people only is allowed to enter either the words "Yes" or "No". No other input is allowed. Does anybody out there knows a plugin or any other easy way to that with Jquery? I found a plugin named constraint (http://plugins.jquery.com/project/constrain), that can prevent the user from typing certain ...

How to get the id value of a button using Jquery?

I have a table with dynamically created Edit buttons. The ID of the buttons is a string that is appended with table content id. i.e: <input id='edit'+id type='button' value='Edit' onclick=edit(this.id) /> How can i get the ID(=edit+id) value of the button using jquery. Thanks for your replies. Hey I am new to jquery. I unde...

Problem with CSS hover drop-down menu in Internet Explorer

Hello Trying to create a website that looks as good in Internet Explorer as it does in Firefox is an incredibly difficult task. However, there is at least one bug in IE that is particularly perplexing for our team. The drop-down menu displays fine in Firefox and Chrome, but looks completely whack in Explorer. This image shows what the ...

how to show and hide a div using onfocus

hi, i'm sorta new to this. i have this so far: <style type="text/css"> #show_hide{display:none;} </style> <div id="show_hide"> ok </div> <input type="text" onfocus="document.getElementById('show_hide').style.display='block';"> it works when i click the input box to show the div. prob is i need it to hide again when i click somewhe...