Sent by Brad Cathey on 29 October 2004 17:05
> Odd. Well, try putting #subhead and #bodybox in a container div
> (#content in the examples below), and float that instead:
>
> CSS:
> div#content {
> float: left;
> width: 400px;
> }
>
> div#subhead {
> padding: 0 0 0 10px;
> margin: 20px 0 0 20px;
> background-color: #FC3;
> }
>
> div#bodybox {
> padding: 0 0 0 10px;
> margin: 20px 0 0 20px;
> background-color: #069;
> }
>
> HTML:
> <div id="content">
> <div id="subhead">
> <h4>This is the subhead content</h4>
> </div>
>
> <div id="bodybox">
> <p>And this is where all the body content would go.</p>
> </div>
> </div>
>
> - Ethan
Yes, odd. And I already thought of handling it the way you suggested, but
that felt like I was "cheating." But, you can only afford to be a purist if
the clients keeps paying for it ;^)
Brad
______________________________________________________________________
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/