html

What controls horizontal space between levels of nested list?

Here are three shots of the same code illustrating what I mean. As you can see, they really vary. And the code, for reference, is: <ul> <li>num 1</li> <ul> <li>num 1.1</li> <li>num 1.2</li> <ul> <li>3rd level</li> </ul> </ul> <li>num 2</li> </ul> I suppose this could be due to a variety of things, but it ...

Online Status Report of a FTP Server?

Hello Everyone, I want to make a status report of when my FTP server is on and when its off. HTML is the language which I prefer to use. I have never used HTML before, and I need it urgently due to a large request of when my ftp server is off and when its on. Can someone help me with this status report? Thanks, Kevin ...

Does the Web Developer toolbar really have a Save button to save CSS modified in Firebug?

According to this S.O. answer the Firefox Web Developer toolbar has a Save button: However, the answer shows an image of the toolbar which does not show a Save button: I just installed the toolbar to take advantage of this option but I do not see a Save button. Does the Save button exist? ...

jQuery shadowbox video not working in IE7

The shadowbox video plugin is not working in IE7 although it works fine in Firefox and Safari. Any comments would be really appreciated. Site: http://www.carolinedawes.com.au/update/abc-gardening-australia.html HTML: <a href="m/abc-gardening-australia-caroline-dawes.mov" rel="shadowbox;height=272;width=480"> <img src="i/abc-garden...

html file upload form

I have a web application with a simple file upload requirement (max 1 mb). The web application is an externally exposed web site that must be (as much as possible) compatible with all browsers and versions. We are using C# .net 3.5 ASP .Net (IIS 7) technology. We are having trouble implementing the file upload control: <input type="f...

Color names allowed in HTML/CSS

I know and use a few color names like 'white', 'blue', 'red', is there a complete list of colors allowed in HTML/CSS ? ...

Does the Firefox Web Developer Toolbar have an equivalent of Firebug's "Inspect Element" CSS live-debug feature?

To edit CSS, I have to inspect elements in Firebug and then make changes in the Firefox Web Developer toolbar so that I can save the changes out to a separate CSS file. It would be nice if I could forget about Firebug and just use a single tool. Does the Web Developer toolbar have an "Inspect Element" option? I can't seem to find one. ...

VS2008 partially freezing when switching to HTML design view

This is an odd freeze. When I switch from source view to design view for an HTML or ASPX file, the client area freezes, but I can still click on other tabs and menus. What am I missing here? Really don't feel like reinstalling VS2008. ...

How to know what percentage of visitors to a website don't use javascript?

Is there an easy way to find out what percentage of visitors to a webpage are not using javascript? ...

Extracting info from html using PHP(XPath), PHP/Python(Regexp) or Python(XPath)

I have approx. 40k+ html documents where I need to extract information from. I have tried to do so using PHP+Tidy(because most files are not well-formed)+DOMDocument+XPath but it is extremely slow.... I am advised to use regexp but the html files are not marked up semantically (table based layout, with meaning-less tag/classes used every...

open a network file from an intranet web application

I am currently building an intranet applicaiton using asp.net mvc and I am wondering if there is a way to link to a file or folder available on the network. I tried simply <a href="G:/folder/">open folder</a> But obviously that won't work as it just gives the output: file:///G:/folder/ which doesn't actually open to anywhere. I unde...

html: hover table column

How can I change the background column of an html table column when the mouse is over it? Preferably with css only. ...

How to get the onclick calling object?

Hi, i need to have a handler on the calling object of onclick event ie <a href="123.com" onclick="click123(event);">link</a> <script> function click123(event) { //i need <a> so i can manipulate it with Jquery } </script> I want to do this without the use of $().click or $().live of jquery but with the method described above. ...

How can I retrieve the attributes of images?

How to retrieve the Image height and width from the IMG tag using jQuery and use this value in div style. like <div class=top>&nbsp;</div> <img src="source.jpg" width="200" height="400" alt="" /> <div class="bottom">&nbsp</div> I want to use the height of the Image and and apply to the DIV. like 400px-20px. div width. THanks ...

jQuery selector question

Hi there! I'm in a bit of a dilemma. I need to select div tags based on whether their children have a certain class. This is a code example of the DOM structure: <div id="container"> <div id="one"> <p>This is item one</p> <p class="special">This is a description</p> </div> <div id="two"> <p>This...

html: what effects does 'form' have on the layout of a page

I thought that an html form has no effect on the layout of a page, and that it is just a way to group fields to send their values to the server in a single request. However, I notices that when I remove the form tag, the layout changes. Where can I find an explanation of visual effects of the <form> tag? ...

popluating multiple id tags

How can i populate multiple id tags simultaneously. On my page i have id tags starting with "total_" phrase, like total_1, total_2 etc., is there a way by which i can populate each of them on a single click in javascript. Should i use regex or parser. Any help will be highly appreciated. Thank you. ...

Google Maps API v3: InfoWindow not sizing correctly

Hi all It appears my InfoWindow, when you click on the home icon on my Google Maps v3, is not properly auto-sizing to the content of the InfoWindow. It gives scrollbars when it should not. The InfoWindow should be properly auto-sizing. Any ideas on why? Link below to live size. http://tinyurl.com/ygktsj Per request, the relevant Ja...

Resize background-image to fill the page height-wise, but allow elements on either side

I'm having a lot of issues trying to do this, and I'm now wondering if it's even possible in css. (Maybe I will need to find some other way using PHP, Flash or Javascript!) Basically, I have 3 images. Each are 1920x1200 (x*y) in size. When placed from left-to-right they form an image of a landscape. I want to create a webpage in which y...

How to hide Table Row Overflow?

I have a situation on some tables where the data is too large to fit. So, it expands the cell vertically to accomodate for this. So now rows that have the overflow are twice as tall as rows with smaller amounts of data. This is unacceptable. How can I force table to have the same row height of 1em? Here is some markup that reproduce...