Sent by Pam Sexton on 14 February 2005 23:11
Thanks to everyone who replied.
This is probably a fundamental question that illustrates my lack of understanding about css. How
can I control the layout of the table placement? I thought that I could create a div that would
act as a parent to a table, but the browsers ignore my dimensions.
If I code <div> and give it a width of 300px; and within the div I code a table, giving it no
dimensions (expecting the table to inherit the dimensions of the container div), what happens in IE
is that the container div simply expands to the width of the table. And what happens in Netscape is
that the table simply escapes the dimensions of the div. I observed this behavior by giving the div
and the table borders so that I could try to figure out layout.
I have read, re-read, re-read information about the box model and it seems so easy to understand.
But, the behavior belies my fundamental understanding. Could anyone explain, in the most
elementary of terms, why the table is responding the way that it is?
I can give the table dimensions and make it *behave,* but I'd like to understand what is going on
with the browser display.
TIA, Pam
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/