> > I'm not sure why you are using absolute positioning to > layout the nesting, but a true nested structure: > > <div id="outer_content_box"> > <div id="inner_content_box"> > ....... inner content box goes here > </div> > </div> > > combined with padding on the outer box, and dimensions > set only on the inner box, will allow the outer's > background to poke through as a border, in (I think) > your desired effect. This also has the advantage that > the two boxes will remain aligned when text is > resized. > > I've put up a full version at: > http://www.fiveminuteargument.com/nested-divs.html > > Hi Bobby,
Thanks for the above, worked a treat. Now I'm sure it's something I've done and I've copied your code exactly but if I leave the style sheet embedded exactly as you have done it works fine: http://beta.bedazzled.name/ But if I use an external sheet it breaks: http://beta.bedazzled.name/external_style_sheet/ I can't for the life of me see any difference why it should do this? I'll keep the style sheets embedded but I'd prefer not to to avoid code bloat. Again thanks for your help and the solution to my problem. Daniel ______________________________________________________________________ css-discuss [EMAIL PROTECTED] 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/