开发者

Bug in Div height IE

开发者 https://www.devze.com 2023-04-07 14:16 出处:网络
Hihi, I´m slicing down the main layout for a webpage. For some reason the div id=\"main\" won´t align开发者_运维问答 to the header

Hihi,

I´m slicing down the main layout for a webpage. For some reason the div id="main" won´t align开发者_运维问答 to the header

url: http://nicejob.is/clients/pizzahollin/www/forsida.htm

As you can see the div id="main" (in green) match perfectly with the header in Chrome and Firefox, but in IE the "main" goes almost overlap the header

I´ve done this many times before without this bug so I don´t know what ghost is hunting me now

Any suggestions? :)


try adding display:block; on the <header>

0

精彩评论

暂无评论...
验证码 换一张
取 消