Page is a not externally linkable
- Code, Content, and Presentation
-- CSS
---- max-height issue


Paul_o_b - 4:10 pm on Jul 23, 2012 (gmt 0)



nd I always apply a css reset which applies display:block to divs


Al browsers set divs to block by default so no need to specify it :)

It's the new html5 elements that old IE browsers don't know about which is why you need the shiv so that the new elements are recognised but you also need to set the new elements to display:block otherwise browsers treat them as inline elements - which as you found out is what the html5 boilerplate does rather extravagantly.


Thread source:: http://www.webmasterworld.com/css/4478033.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com