css - IE has different height/width for div than Firefox -
i'm having trouble div
height , width in ie.
on web page, http://www.ricominciodame.it/eventi.php, there div
s blackboard style.
in firefox, work fine, in ie (both 7 , 8) width lower , background cut.
the following css:
div.evento { background : white url("images/sfondo_evento.png") top no-repeat; width : 260px; height : 207px; margin:5px; margin-left:0px; margin-bottom : 20px; padding-left : 20px; padding-right : 20px; padding-top : 20px; padding-bottom : 20px; color : white; }
how can fix problem?
your page running in ie quirks mode caused doctype
. have use of these http://www.w3.org/qa/2002/04/valid-dtd-list.html
also, it's validate web site, w3 validator.
Comments
Post a Comment