html

checkboxes select choices at the same time

Hi i have this code where you can select the date you like to attend the meeting. How can I have this possible to select 2 dates at the same time? Because in this code, one can only select 1 date. What should I add in here? <div style="background-color:#aaa"> <form method="post" action="[~[*id*]~]"> <input type="h...

How to pass textbox value to another script on link click event.

I have a form like this: one.php <form id='myFormId' name='myFormName'> <input type='text' name='myTextField'> <a href='two.php'>Show Value</a> </form> Question: I want to pass 'myTextField' textbox value to two.php and want to echo it on screen. I can't use submit button and also can't submit the form. Is there any trick ? Tha...

UI Prototyping Tool which generates html as output

I'm looking for a UI prototyping tool which generates HTML output. I checked SO for Web UI prototyping tools, but none of them generates html as output. Please could you suggest a tool for the same... ...

Multipage image printing

Hi, I'm trying to force printing long images on several pages. What would be the best way to achieve this using HTML and / or CSS ? Thanks ...

HTML Copy from list to another list?

Im not totally sure how to do this in HTML as im not fully aware of all the types of element. Essentially, i would like to have a list of data which a user can then highlight however many they wish and then click on a button and it would copy it over to a blank list. What objects do i use for the 'lists'? I know how to do the copy over ...

`A` tag is not well-formed but why?

Firebug is showing this HTML tag as "not well-formed": <a id="aHarita" target="_blank" style="margin-left: 5px;" href="http://maps.google.com/maps?q=40.879236,29.386641&amp;num=1&amp;t=h&amp;sll=40.879132,29.386962&amp;sspn=0.006295,0.006295&amp;ie=UTF8&amp;ll=40.879317,29.386641&amp;spn=0.003022,0.006947&amp;z=18" > Where is the prob...

change image resolution

I am trying to switch between different resolutions (original-standard-high) of an image using ONLY one image. Is this possible using any way? Here is an example of what I want, but it is using three image with three different resolutions, I want to use only one image. http://www.biomedcentral.com/1741-7007/8/59 <!DOCTYPE html> <html> ...

tile background image css

I want to repeat background image in a div but without specifying height, i want it to be flexible, if any amount of data comes in background should still be there. if i don't specify height it does not shows there but other properties like margin auto is applied. any suggestions. ...

How to extract url GET parameter from <a> tag, from the full html text.

So I have an html page. It's full of various tags, most of them have sessionid GET parameter in their href attribute. Example: ... <a href="struct_view_distrib.asp?sessionid=11692390"> ... <a href="SHOW_PARENT.asp?sessionid=11692390"> ... <a href="nakl_view.asp?sessionid=11692390"> ... <a href="move_sum_to_7300001.asp?sessionid=1169239...

How can I automatically extract strings for translation?

I wrote a website, with several pages, in PHP and now need it translated to a different language. I've been searching ages for how I can just automatically extract all the strings and HTML text in my php source code, manually translate each, and then insert them back in. I don't want multi-language support, and I've checked translation...

In CSS, how do I style a div that has two classes?

Hi, I have a div with the following CSS class defined: <div class="ui-button ui-state-active">bla bla bla</div> I am trying to define the CSS styling for that class by doing it this way <style> .ui-button .ui-state-active { background-color:#000000; } </style> It's not working, am I referring to the class in the wr...

Jquery autocomplete, how to search on words instead of string

I have a textbox where i want to have an autocomplete that lets the user search through addresses. The user must be able to type in different words and the autocomplete must search through them to narrow its list. I've been trying and reading the documentation, but nothing seems to do the trick as it always searches on the whole string...

Gmail does not allow margin property

Hi Guys I want apply margin property for my html newsletter But Gmail ignores this CSS property Is there any way to add margin to html element ? Thanks ...

HTML select refreshes page when I submit form

Hi all, I have a simple form with some input fields and a dropdown list (). I use 'return false' with jQuery to avoid the page to refresh after I submit the form and this works like it should. However, with the 'select' html in the form it does refresh the page and this is not what I want. Does anybody have an idea on how to avoid the ...

Refresh a div in javascript

hello, I wonder if it is possible to refresh a div tag in javascript? My ajax script <script type="text/javascript"> function actualiserDLIS() { var url = 'administration/gestionUtilisateurs.do?method=actualisationDLIs'; var params = 'DR='+encodeURIComponent(document.getElementById('selectDR').value); var myAjax = new Ajax.Reque...

validation errors when validating a page that has a flash object

I use the following doctype in a page that has a flash object, html code <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="379" height="180"> <param name="movie" value="Flash/header.swf" /> <param name="quality" value="hi...

How to set div width to 100%

I'm trying to design a 2 column layout using divs. My left column size is fixed to 150 px. But right column is not fixed size, so I want it to extend to right boundary of the browser. I used width:auto and width:100% values in right column but they didn't work. CSS : html { height:100%; width:100% } body { color: #000040; ...

hacking HTML cells with CSS

Hi, I have a html table that has 2 cells in a row. How can i make the second cell appear below the first one instead of next to it? I can only do it in css and it's a dirty hack, but ... i still need it. ...

Regular Expression for Alphabets + Numeric Value

Hello, I am working on a Java-script, for which I need regular expression to check whether the entered text in text-box should be combination of alphabets and numeric value. I tried NaN function of java-script but string should be of minimum-size & maximum-size of length 4 and start with Alphabet as first element and remaining 3 eleme...

Pan through row of images

I have a list of images and I want to align all of them side by side. Since there are a lot of images and they overload the space of the screen width. So, I want to go navegate throught the images using the mouse. When I go to the right of the container of images, I navigate to the right and vice-versa. How can I do something like this...