Previous Message
Next Message

ie6 pushing down everything

Sent by jeffrey morin on 22 May 2007 02:02


On 5/21/07, Melianor [EMAIL-REMOVED]> wrote:
>
> Hi Jeff,
>
> 1. Images are not block elements, so applying float to them will
> trigger funny experiences with some browsers. So either add display:
> block to the css or build a wrapper div around the images.
>
> 2. Your clearing div is causing the space problem, since IE will
> reserve some space inside that div, due to default line-height,
> font-size and so on and even some default height, added by the
> browser.
>
> So reduce those to 0 or 1px, or something similiar or you can also add
> a "<!-- -->" comment inside the div to counter the problem. So that IE
> will know, hey there is really no content inside this div, so i don't
> need to set any default values.
>
> regards, Jens



hi jens,

thanks for looking at my page. i don't quite  get what you're saying though.
the haslayout is applied to all of the divs via the style in the head of the
document. when i remove it the problem is fixed, however, due to the CMS
that the company is using that embedded style has to be there. i also tried
adding height: 0; to all clearing divs to no solution. is there a way to
remove that has layout from things?

the images aren't floating, they are wrapped in a div which is floating
right. so i'm stumped! ie6 is my enemy!

Jeff
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread: