> Date: Thu, 07 Apr 2011 12:13:48 -0400 > From: David Laakso <da...@chelseacreekstudio.com> > To: css-d@lists.css-discuss.org > Subject: Re: [css-d] Why didn't div border wrap around div contents? > > Try opening the nav block and containing the content within it... > > body { > /*font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif; > font-size: 1.0em;*/ > font: 1em 'Helvetica Neue', Helvetica, Arial, sans-serif; > } > > #navigatex { > border: 1px solid /*#F3E5CE*/red; overflow: hidden; > } > > ul#navlistx { > /*font: normal bold 2em Arial, 'Helvetica Neue', Helvetica, > sans-serif;*/ > } > > #articlex { > /*display:block;*/ > /*font: italic bold 1.25em Arial, 'Helvetica Neue', Helvetica, > sans-serif;*/ > margin: /*17em*/0 auto 5em auto; > /*width: 606px;*/ > width: 60%; > }
David, I built a successful version using Jukka's suggestion about modifying the <li> borders, but I'm also going to build one using your idea and compare the two to see which is better suited for my site. Thanks, both of you! -K ______________________________________________________________________ css-discuss [css-d@lists.css-discuss.org] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/