part II

A floated sidebar, contains a table. No problems there, as the sidebar container has a (pixel-) defined width. A main contents area, with a red border (static <div>, width defined only by margins and padding). A nested div, that #innerwrapper that is floated left and has a width (100%) declared. No wrapper around the tables are needed in this case.

The tables should be as wide as the main contents, and not drop under the sidebar.


 icon a table, no width is declared; without a wrapper [control table]

cell1 cell2 cell3 cell4
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aliquam ultricies, metus sed rutrum dignissim, leo dui sollicitudin sapien, sit amet sagittis est metus ut erat. Maecenas sollicitudin. Lorem ipsum dolor sit amet, consectetuer adipiscing elit.

 icon a table, width declared (100%); equally sized cells; no wrapper

cell1 cell2 cell3 cell4
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aliquam ultricies, metus sed rutrum dignissim, leo dui sollicitudin sapien, sit amet sagittis est metus ut erat. Maecenas sollicitudin. Lorem ipsum dolor sit amet, consectetuer adipiscing elit.