Previous Message
Next Message

Re: [css-d] NS 7.0 rendering

Sent by Jeroen Coumans on 22 May 2003 17:05


Tim Laureska said the following on 05/22/03 15:07:

 > Hello... still relatively new to css but trying different things.... I
 > have a site that looks fine in IE 6.0 but stretches off the screen to
 > the right in NS 7 ..... does anyone have a clue why this might be
 > happening?
 >
 > http://208.249.126.159/index_dicks.html
 > http://208.249.126.159/styles/dicks.css


Yes, it's because NS renders the box model correct, thus adding the 
padding to your width. IE5 an IE6 in quirks mode apply padding and 
margin within the box.
Read the CSS spec and http://www.tantek.com/CSS/Examples/boxmodelhack.html

-- 
Groeten/Greetings
Jeroen Coumans

______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread: