Augusto, On 8/1/05, Augusto Murri <[EMAIL PROTECTED]> wrote: > Hi all, > i'm trying to create a box with CSS.. but i've several problems to make it. :\ > > The final result should be like that http://www.opent.it/cms/bazar/box.gif > This what i'm doing now http://www.opent.it/cms/bazar/box.htm but i'm not > sure if it's correct.. :?
I would only suggest that you try to avoid creating meaningless html as placeholders for decoration. For example... ------------ html --------- <body> <div class="box"> <div class="header"><img class="bar" src="images/cats/magazine.jpg" width="329" height="23" alt="Magazine" /></div> <div class="bordcontent bar"> <div class="content">zsrfaw</div> </div> </div> </body> --------- css ------- .bar { display: block; padding: 0 0 6px 0; margin: 0; background-color: #E0E0E0; border-bottom: 1px solid #BDBDBD; } .content { background-color: white; } ------------------------- By keeping 'extra' markup out, users without css don't see extra clutter. -- Roger Roger Roelofs Know what you value. ______________________________________________________________________ css-discuss [EMAIL PROTECTED] 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/