html

how to get multiple values from a list using php?

sir, i hav a list.from these list i want to select multiple values to another list and get these values using php.here is my code. <script type="text/javascript"> function addOption_list() { for(i=document.drop_list.Category.options.length-1;i>=0;i--) { var Category=document.drop_list.Category; //document.write(Category); if(do...

Fluid width HTML list item using CSS

Is it possible to create a fluid width LI with background imaage that adjusts its size based on content and doesn't follow the width of a parent DIV. If possible, using only CSS. <div id="navbody"> <!--Button Start--> <ul id="button"> <li> Home <div class="btnright...

Decrease the latency of showing tips (like img's title)

When you move your mouse over a link with title, after a while it will show the title as a tip. Is it possible to remove this delay or change it so I shows the tip faster? ...

is wrapper DIV a violation of content-style separation?

It's been said that the goal of CSS is to provide visual presentation and the goal of HTML is to provide structure of the document. Well, thank goodness. It has gotten so much easier, especially with font tags! But in practice, it seems that way many of us still rely on HTML to use CSS when it shouldn't be there. For example, it's comm...

Simple jQTouch Form-based product selector.

Hi all, I'm using jQTouch to build a simple mobile app with an html/js/jquery form that which acts as a product selector. It has 5 dropdown menus, and 6 possible scenarios: Scenarios: There are 6 products - whichever gets the most points is chosen. The user is then taken to the div (which acts as a page in jQTouch) with the content f...

text centre in <ul>

Hi All, I'm building a navigation bar inside a ul. Most of the menu items have long titles so I really need to wrap them over a number of lines, as in the following code (I've inserted br/ where I'd like the returns) <ul> <li class="cell01on">Menu 1</li> <li class="cell02"><a href="#">Menu2.1<br/>Menu2.2<br/>Menu2....

Make link in table cell fill the entire row height

I have a table of data and each cell is a link. I want to allow the user to click anywhere in the table cell and have them follow the link. Sometimes the table cells are more than one line but not always. I use td a {display: block} to get the link to cover most of the cell. When there is one cell in a row that is two lines and the o...

Javascript JsON get object member name

Hi Guys, this is might be a very basic question, but seems like it's not easy to find the answer. I have a Json, more or less is like: languages = { "aa":{"iso639-2T":"aar","family":"Afro-Asiatic","labels":{"language_names":["Afar"],"native_names":["Afaraf"]}}, "ab":{"iso639-2T":"abk","family":"Northwest Caucasian","labels":{"language_...

Super Suckerfish drop downs hidden by aviaslider in IE

I'm having problems with this website http://cspa.wa.edua.au. The website is fine in most browsers however in IE the drop downs go behind the slider. I'm using aviaslider and super suckerfish for the navs. Any CSS experts out there can have a quick look and let me know what I need to change so this problem is fixed. ...

<select> tag doesn't work in UIWebView on iOS4

Hello heroes, I'm new to iOS programming, so please allow me to ask stupid questions if it is :) I have a program, using UIWebView to load HTML page and display to the end users. The page is quite simple, <select> <option>A</option> <option>B</option> <option>C</option> <option>D</option> </select> WebView controlle...

Positioning text on the image

I have a image centered on the screen. I need to display some text above the image and I want to set the text coordinates relative to image. If a user have a different resolution: The image always located on the top and center of the browser. The text will be on the same position in the image. I have tried: <style type="text/css"> ...

How to recover all the file path selected

Hello, I put a browser in my jsp page, and when I select the file via the browser and I'm doing a System.outn select the file path, I only have the name, and I need to recover all the file path selected <form:form onsubmit="document.getElementById('idButton').value='Traîtement en cours ...'" action="ajouter.html" method="POS...

Library to convert Word document text to HTML

Hi, Is there a .Net open source library to convert the word dococument to HTML to display inside the webpage. I know several tools to convert word docs to html files, but my requirements is to convert the doc(either from the file or just extracted text) to HTML on the fly in the ASP.Net application. I found the converting-a-word-docu...

HTML batch save into folder - Any ideas ?

I am trasferring some old 'inhouse' html sites to a new system. The current folder structure is that all htmls of all sites are in one folder, and all the images of all those site are in /images folder. Ofcourse i need to have seperate folders for each html and its images. Just before writing some code to do the Job : Is anyone famil...

Background-Image in <img> element

Hey somebody, Can someone help me to find my Problem ? I have a <img /> and will give him a background-image within a <a> tag. Here is my example: <img border="0" style="display:block; width:20px; height:20px; background-color:red; padding:9px; background:url(\'./images/system/button/close/close.png)\' no-repeat" /> Background-Color...

Custom google map infoWindow

Hi I was working on customization of gmap infoWindow. I wrote the following code.. <script type="text/javascript" src="http://www.google.com/jsapi?key=ABQIAAAAWFxfdA2Gu9LJMJw80x2tKhQhoncwM0SGfm1Opx_70t50wOiSWxRz3mt77PVPCsnMPENBxlx9FaX5AQ"&gt;&lt;/script&gt; <script src="javascript/extinfowindow.js" type="text/javascript"></script> <...

In which case webpage loads without external stylesheet in chrome or safari ?

In which case webpage loads without external stylesheet in chrome or safari ? I am talking about a case in which webbrowser first loads webpage without stylesheet and then redraw it with css once it becomes available. It would be great If you give me a small html page with external stylesheet, which always loads webpage without externa...

How to select a <td> by his bgcolor attribute using PHP simple html dom parser

I have to extract this particular HTML using PHP. Since I haven't any class or unique ID I tried to use his bgcolor attrib but without success... <td bgcolor="#F5EC97" width="154" valign="top" align="left" height="55"> <font face="Verdana, Arial, Helvetica, sans-serif" size="1"><b><font color="#CC6633">CITY</font></b><br>...

Can I "stack up" selectors using jQuery?

Hi, I know "selectors" is the wrong term, but I can't remember it :P I have this script: $(function() { //checkbox $("#checkbox2, .akslabel").click(function(){ $("#scrollwrap").toggleClass('highlight'); }); }); Is it ok to stack up the selectors like that? Or should I re-write it for each one? Thanks! ...

C# XmlTextReader: html entity replace

Hello I have xml file with TAG like this: <Question>dzia&amp;#322;owa</Question> I'm reading this file using XmlTextReader and for this TAG I get something like this: dzia&#322;owa How to replace html entity numbers inside my xml to get something like this: "działowa"? ...