Box model applies to how items that you set a height and width are
calculated. Whether the size is the total outside dimensions of the block or
whether things like margin and borders are added to the outside.

That is irrespective of whether the container is a table or a column or
anything else with a block level setting. Your choices are tables or css
positioning but both have possible box model issues.

Example:

table {width: 500px; border: 2px solid black; margin: 10px}
td {padding-right: 10px;}
<table cellspacing 0 cellpadding: 0 >
<td width=30%></td>
<td width=50%></td>
<td width=20%></td>
</td>

This would result in a container width of 500px in IE (6 quirks mode or
older versions) but 522px in standards compliant browsers. 

#col1 {width: 30%; border-right: 2px solid black; margin 10px;}
#col2 {width: 50%; border-right: 2px solid black; margin 0px;}
#col3 {width: 20%; margin 10px;}

In IE (quirks & older) will give you a 3 column page with 10px of space on
the outside and between the columns. On a compliant page you would get a
scrollbar because your page would be 100% plus 34px because of the box model
differences.

Does that make any sense or just further confuse you?

Cheryl D. Wise
Microsoft MVP
WiserWays, LLC
713 353-0139
www.wiserways.com
mailto:[EMAIL PROTECTED]


-----Original Message-----
From: Jan 

Ok, somehow this is confusing me. What is best to use for tables, columns or
box model?

Jan


____ • The WDVL Discussion List from WDVL.COM • ____
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] 
       Send Your Posts To: [EMAIL PROTECTED]
To set a personal password send an email to [EMAIL PROTECTED] with the words: "set 
WDVLTALK pw=yourpassword" in the body of the email.
To change subscription settings to the wdvltalk digest version:
    http://wdvl.internet.com/WDVL/Forum/#sub

________________  http://www.wdvl.com  _______________________

You are currently subscribed to wdvltalk as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

Reply via email to