html

How to implement "select all" check box in HTML?

I have an HTML page with multiple checkboxes. I need one more checkbox by the name "select all". When I select this checkbox all checkboxes in the HTML page must be selected. How can I do this? ...

CSS box model pushing element lower on the page

Hi I'm trying to fix a bit of test html to work with opera/chrome. It's using the holygrail box model from matt levine. In IE and firefox it looks like In chrome, opera and safari it pushes the sidebar element down. I've played with the margin and paddings but it still doesn't work. am I missing something? <!DOCTYPE html PUBLIC "...

How do I check all checkboxes on an HTML page with one click?

Hi, I am html page with 5 checkboxes My requirement is to have one morecheckboxes "Select All" which is used to select all 5 checkboxes. Thanks in advance Closed as exact duplicate of this question. ...

Relative Paths for Includes in HTML? A Throwback To The Old Days?

[This question is somewhat related to this question, but the answers are not...] I have always used relative paths in HTML and scripting languages (PHP/ASP/JSP) to refer to EVERYTHING. I think the justification had to do with 'what if the website gets hosted in some weird subdirectory.' But my coworker has started throwing absolute path...

Capturing HTML generated from ASP.NET

How do I best capture the HTML (in my instance, for logging) rendered by an aspx-page? I dont want to have to write back to the page using Response.Write, since it messes up my site layout. Using the Response.OutputStream or Response.Output's stream results in an ArgumentException ({System.ArgumentException: Stream was not readable.) ...

Methods to check the look of a web page on different browsers

I would like to be able to see how a web page looks on different browsers before releasing it. I have several on my machine, but I cannot check different versions of IE, and other browsers, and I cannot check other OSs. I know of http://browsershots.org/ but this takes ~30 minutes at times, thus it can be problematic for troubleshooting....

Suggestions for a file format conversion library

conversion from multiple non-graphical document formats to and from HTML (e.g. doc<->HTML, pdf<->html, odt<->html, etc.) command line or API (Java API is preferable) cross-platform commercial or open source Are there any well known solutions that meet/exceed these requirements? ...

Is true HTML debugging possible?

I've been a web developer for quite some time and what has helped me in learning is to visually see what is going on. That's the reason for Tools like Aardvark, Web developer, Firebug and many others. But when i saw the Gecko Reflow Videos they just blew my mind. Then my question is, is it possible to truly debug html (step through ea...

Outlook Express is not recognizing *some* HTML emails

I'm using HTML emails for a client's newsletter. Not using HTML mails is not an option. I've used PHPMailer for mailing, but I've also tried using PHP's mail() function directly. In both instances, I get the same problem described below. I've tried sending as multipart as well as sending just the HTML version. In every email client I tr...

What are all the special iPhone / iPod Touch HTML tags?

After peeking at the SO source, I noticed this tag: <link rel="apple-itouch-icon" href="/apple-touch-icon.png" /> Which after a quick Google revealed an Apple "favicon" type thing for display on your homepage ("WebClip Bookmark" to be exact). The only other one that jumps to mind is the: <input type="search" results="5"/> This t...

How to display web page without getting blocked by the firewall?

I want our app to show the online help page (so it's always up to date) or even a local page. However, it's likely to be blocked by the Firewall (Zone Alarm). BTW, I tested this with Zone Alarm. It blocked access to a local .html file as well as to an .asp file on the internet. (I.e., tried to display a page in Internet Explorer and got...

How to stop event propagation with inline onclick attribute?

Consider the following: <div onclick="alert('you clicked the header')" class="header"> <span onclick="alert('you clicked inside the header');">something inside the header</span> </div> How can I make it so that when the user clicks the span, it does not fire the div's onclick event? ...

How to make an image center (vertically & horizontally) inside a bigger div

I have a div 200 x 200 px. I want to place a 50 x 50 px right in the middle of the div. How can it be done? I am able to get it centered horizontally by using text-align: center for the div. But vertical alignment is the issue.. ...

IE not wrapping text around images

I have a page with this HTML: <p> <img src="images/ih01.jpg" width="80" height="110" align="left" /> This course overs basic human anatomy and physiology, including the major body systems and their functions. When you have completed this course you will be able to identify major body components and their core physiologic...

How would you markup a building plan/map using semantic HTML?

The building (a museum) has 7 levels (+3 to -3), each divided into different rooms/areas. Hovering over an area will reveal a popup describing that area. I'm looking for some markup that will accurately represent the 7 levels and their areas. The plan should make sense and be 'navigable' without any CSS/JS. Edit: Some clarification, t...

Is it correct to nest HTML definition lists (<dl>)?

Is it semantically correct to nest definition lists, or should they simply be a 'flat list of name/value pairs'. The specs don't seem to forbid it. Further to this question. ...

How to access html form input from asp.net code behind

I have a basic HTML form that gets inserted into a server side div tag based on how many records exist in the database. This HTML form comes out just fine, and everything looks good. But on my action page I cannot seem to access the input elements from the code behind. I have tried using the Request scope but have come up empty on that a...

How to get ul structure from HTML

I am making a configuration page, that splits a category tree over 3 columns for easy browsing like: **Column 1** **Column 2** **Column3** Category1 Category3 Category5 *SubCategory1* Category4 *SubCategory5* Category2 *SubCategory4*...

z-index not behaving as i'd expect

so i've got this, roughly: <div id="A"> <ul> <li id="B">foo</li> </ul> </div> <div id="C"> ... </div> These are positioned so that B and C overlap. A has a z-index of 90, B has a z-index of 92, and C has a z-index of 91. But C shows up in front of B. What am i doing wrong? (Let me know if more detail is necessary....

Details View and CSS Compliance

I'm still having a hard time not wanting to use Tables to do my Details View Layout in HTML. I want to run some samples by people and get some opinions. What you would prefer to see in the html for a Details View? Which one has the least hurddles cross browser? Which is the most compliant? Which one looks better if a I have a static...