HighDots Forums  

Re: Calculating Width?

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss Re: Calculating Width? in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Dana Cartwright
 
Posts: n/a

Default Re: Calculating Width? - 12-03-2004 , 08:10 PM






"Axel Dahmen" <NO_SPAM (AT) No_Spammer_Knows (DOT) invalid> wrote

Quote:
Hi,

IE subtracts margins, borders and padding from width whereas FF adds them
up. Result: The above HTML produces a scrollbar in FF.

Take a look at http://www.ericmeyeroncss.com/bonus/render-mode.html

Scroll down to where he talks about the box model...

--------------------
My e-mail address doesn't have a 2 in it.




Reply With Quote
  #2  
Old   
Axel Dahmen
 
Posts: n/a

Default Re: Calculating Width? - 12-07-2004 , 05:16 PM






Thanks, Dana, that was really enlightening to me.

Until CSS3 becomes common, did someone come up with an idea before to define
a full width coloured block having padding according to strict CSS2?

TIA,
Axel Dahmen





-----------------
"Dana Cartwright" <danapub2 (AT) weavemaker (DOT) com> schrieb im Newsbeitrag
news:z09sd.34110$1u.12049 (AT) twister (DOT) nyroc.rr.com...
Quote:
"Axel Dahmen" <NO_SPAM (AT) No_Spammer_Knows (DOT) invalid> wrote in message
news:cor3s6$ce2$1 (AT) online (DOT) de...
Hi,

IE subtracts margins, borders and padding from width whereas FF adds
them
up. Result: The above HTML produces a scrollbar in FF.


Take a look at http://www.ericmeyeroncss.com/bonus/render-mode.html

Scroll down to where he talks about the box model...

--------------------
My e-mail address doesn't have a 2 in it.





Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.