Forum Moderators: not2easy

Message Too Old, No Replies

Styling info boxes / curved boxes

Does anyone know how to neatly code an 'infobox' style item in CSS

         

nick279

12:17 pm on Jul 22, 2008 (gmt 0)

10+ Year Member



I'm coding a site in a menu, and really hate having to code an 'infobox' or side box in the following fashion


<div class=box>
<div class=boxtop><p>Header</p></div>
<div class=boxmid><p>box contents</p></div>
<div class=boxbottom></div>
</div>

Does anyone have or know of a nicer more elegant way of coding a custom box?

sgietz

3:13 pm on Jul 22, 2008 (gmt 0)

10+ Year Member



Why not simply style the two p tags?