Search the archives!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Javascript] DIV height problem in IE
- From: davidh126 at writeme.com (David Hucklesby)
- Subject: [Javascript] DIV height problem in IE
- Date: Mon Nov 20 19:56:09 2006
On Mon, 20 Nov 2006 09:17:52 +0530, vijaykumar bavareddy wrote: > Hi, trying to place DIV with height less than 15 using below code.. > its works fine in firefox but not in IE.. in IE its showing height > around 15px by default.. please help in this regard... Hi Vijaykumar, The height you see is the blank text between the open and close tags. Unfortunately IE still "sees" text when you write the two tags next to each other. Adding an HTML comment between works though: <div id="vscl"><!-- --></div> Attempting to fake it with font-size will only break for your visitors that use IE accessibility options. Cordially, David -- www.hucklesby.com
- References:
- [Javascript] DIV height problem in IE
- From: vijaykumar bavareddy
- [Javascript] DIV height problem in IE
- Prev by Date: [Javascript] Adam Connor/US/Warranty is out of the office.
- Next by Date: [Javascript] Re: Javascript Digest, Vol 45, Issue 19
- Previous by thread: [Javascript] DIV height problem in IE
- Next by thread: [Javascript] Adam Connor/US/Warranty is out of the office.
- Index(es):