Scott Bicknell wrote: > I want to create a site with a sidebar div {width:200px; float: > left;} rule and a content div that stretches to fill the > remaining space and that centers the content within that > remaining space. > > When I specify a percentage width for the content div it behaves > as if the floated div is not there. When I remove the float rule > from the sidebar div, the content div sits below, rather than to > the right of the sidebar div. > I have a visual orientation so it is a little difficult (for me) to say without seeing something. You might try this layout <http://blog.html.it/layoutgala/LayoutGala31.html>. And center the content by assigning the same margin-left and margin- right to #content p. Or create a division within #content that has a width assigned, and use margin: 0 auto; to center that division in #content. Regards, ~dL
-- http://chelseacreekstudio.com/ ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7 information -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/