User not logged in - login - register
Home Calendar Books School Tool Photo Gallery Message Boards Users Statistics Advertise Site Info
go to bottom | |
 Message Boards » » CSS in IE6 WTFery Page [1]  
BigMan157
no u
103354 Posts
user info
edit post

i have something like

CSS:

.the_bottom {
background:url('./bottom_corners.gif') no-repeat bottom left;
width:400px;
height:9px;
padding:0px;
position:absolute;
bottom:0px;
left:0px;
}


HTML:
<div id="contain" style="position:relative">
<div class="the_bottom></div>
</div>


i have a height of 9px for the_bottom in everything but IE6, where it is about 20-30px

no other class is directly effecting it (there are no #contain div styles or anything of the sort)

any ideas why?

7/9/2007 3:14:19 PM

qntmfred
retired
40726 Posts
user info
edit post

IE6 is pretty well known to do stuff like this

[Edited on July 9, 2007 at 3:19 PM. Reason : improper implementations and whatnot]

7/9/2007 3:19:35 PM

BigMan157
no u
103354 Posts
user info
edit post

yeah i know, i just can usually find a workaround somewhere somewhat easily

this one i finally found after fooling around with it enough

it needed a font-size:1px; in there

and, as if by magic, it works

[Edited on July 9, 2007 at 3:31 PM. Reason : i've spent hours on this bug]

7/9/2007 3:31:36 PM

Prospero
All American
11662 Posts
user info
edit post

IE6 is probably wanting to put in a blank space in that <div> tag thus the reason that font-size:1px; works, typically a default 12px space is equal to ~20-30px

[Edited on July 9, 2007 at 3:41 PM. Reason : .]

7/9/2007 3:41:35 PM

qntmfred
retired
40726 Posts
user info
edit post

yeah, that could be too. put a border on your divs for a second to see where the space is

7/9/2007 3:53:05 PM

Fry
The Stubby
7784 Posts
user info
edit post

IE is a ....

also i've fixed a few things before with line-height, if you ever run into problems it's worth a shot


[Edited on July 9, 2007 at 4:50 PM. Reason : to add something useful]

7/9/2007 4:45:32 PM

 Message Boards » Tech Talk » CSS in IE6 WTFery Page [1]  
go to top | |
Admin Options : move topic | lock topic

© 2024 by The Wolf Web - All Rights Reserved.
The material located at this site is not endorsed, sponsored or provided by or on behalf of North Carolina State University.
Powered by CrazyWeb v2.39 - our disclaimer.