I have an absolutely positioned div containing several children, one of which is a relatively positioned div. When I use a percentage-based width on the child div, it collapses to 0 width on IE7, but not on Firefox or Safari.
If I use pixel width, it works. If the parent is relatively positioned, the percentage width on the child works...
Is there a standard way for a web server to determine what time zone offset a user is in?
From an HTTP header or part of the user-agent description, perhaps?
...
Let's say you create a Wizard in an HTML form. One button goes back and one goes forward. Since the "back" button appears first in the markup, when you press Enter it will use that button to submit the form.
Ex:
<form> <input type="text" name="field1" /> <!-- put your cursor in this field and press Enter --> <input type="submit"...
I want to print HTML from a C# web service. The Web Browser control is overkill, and does not function well in a service-environment, nor does it function well on a system with very tight security constraints. Is there any sort of free .NET library that will support the printing of a basic HTML page? Here is the code I have so far, th...
What is a good method for testing website layout designs across multiple browsers and operating systems?...
Suppose I have the following CSS rule in my HTML.
body { font-family:Calibri,Trebuchet MS,Helvetica,sans-serif; }
How can I detect which one of the defined fonts was used in the user's browser?
Edit for people wondering why I want to do this: The font I am detecting contains glyphs not available in other fonts and when the user does n...
give a relatively simple css:
<div style="width:150px;">
12333-2333-233-23339392-332332323
</div>
How do I make it so that the string stays constrained to the width of 150, and simply wraps to a newline on the hyphen?
...
How do I set the icon that appears on the iPhone for the web sites I create?...
Are there any offline tools available for Wordpress theme development other than Dreamweaver extentions?
I'm looking for something that renders a page in a Gecko (or related widget) window in response to my editing of the theme code so I don't need keep editing files on a web server.
Any ideas?
EDIT:
Should have been more clear. I ha...
I'm looking for a good editor for both HTML and CSS. I currently use the Firebug Firefox extension, and this is a great tool, but I'm looking for something I can use without necessarily firing up a browser. Ideally it would have a live preview of what I'm coding.
Edit: As a student, I have access to MSDN. also, i have access to Windows,...
Checkboxes in html forms don't have implicit labels with them. Adding an explicit label (some text) next to it doesn't toggle the checkbox....
How do you disable Autocomplete in the major browsers for a specific input (or form field)?
...
I'm thinking of trying Beautiful Soup, a python package for HTML scraping. Are there any other HTML scraping packages I should be looking at? Python is not a requirement, I'm actually interested in hearing about other languages as well.
The story so far:
Python
Beautiful Soup
lxml
Ruby
Hpricot
scrAPI
scRUBYt!
.NET
Html Agility ...
When developing a new web based application which version of html should you aim for?
EDIT:
cool I was just attempting to get a feel from others I tend to use XHTML 1.0 Strict in my own work and Transitional when others are involved in the content creation.
I marked the first XHTML 1.0 Transitional post as the 'correct answer' but bel...
Does anyone remember the XMP tag?
What was it used for and why was it depreciated?...
My organization has a form to allow users to update their email address with us.
It's suggested that we have two input boxes for email: the second as an email confirmation.
I always copy/paste my email address when faced with the confirmation.
I'm assuming most of our users are not so savvy.
Regardless, is this considered a good practi...
I'm using ClodFusion(sic) to populate a template that includes HTML lists (<ul>'s).
Most of these aren't that long, but a few have ridiculously long lengths and could really stand to be in 2-3 columns.
Is there an HTML, ColdFusion or perhaps JavaScript (I have jQuery available) way to do this easily? It's not worth some over-complicat...
Hi. I am a CSS newbie trying to layout a table-like page with two columns. I want the rightmost column to dock to the right of the page, and this column should have a distinct background color. The content in the right side is almost always going to be smaller than that on the left. I would like the div on the right to always be tall...
I am currently in the process of creating my own blog and I have got to marking up the comments, but what is the best way to mark it up?
The information I need to present is:
Persons Name
Gravatar Icon
Comment Date
The Comment
Any idea's would be much appriciated.
PS: I'm only interested in semantic html markup....
I have a page that is generated which inserts an HTML comment near the top of the page. Inside the comment is a *nix-style command.
<!-- command --option value --option2 value2 --option3 -->
This comment breaks the page completely. What is wrong with the comment to cause this to happen, and why is this the case?...