Topic: IE5.01 CSS offest rollover problems |
|
---|---|
Author | Thread |
Maniac (V) Inmate From: out of a sleepy funk |
posted 03-18-2004 17:23
This a little cross post from sister GN. Here is the page in question |
Paranoid (IV) Inmate From: Madison, Indiana, USA |
posted 03-18-2004 21:25
Jason: I think your running into a problem with IE5 calculating the box widths differently than the other browsers do. This (I'm sure you know) is called the box-model problem. I haven't had time to play with your site, but the behavior I see looks like the same effect I saw when designing other pages. |
Maniac (V) Inmate From: out of a sleepy funk |
posted 03-18-2004 23:18
ta-friggin-da! |
Paranoid (IV) Inmate From: Madison, Indiana, USA |
posted 03-19-2004 18:53
Again your dealing with the box-model hack. IE uses width and height to specify the width (height) of the content area of a block. The standard says that width (height) should specify the width (height) of the entire block. When you add the 5px margin to block IE adds the extra 10px (top and bottom) to the size of the div. All the other browsers keep the div height the same and reduce the amount of space allocated to the content area. |