Try placing the margins and so on on the <h2>, then add a <span> and put the background image and the border on that.
Barnaby Scott wrote: >The reason I had {position: relative;} was so that I could force a vertical >space before the H2 and reduce the space below it (by a combination of line >height and top offset). If I had left it as a block, I could have forced it >down vertically with a top margin, but then I couldn't fix the bottom border >to the length of the text. > > -- http://www.mozilla.org/products/firefox/ - Get Firefox! http://www.mozilla.org/products/thunderbird/ - Reclaim Your Inbox! Please avoid sending me Word or PowerPoint attachments. See http://www.gnu.org/philosophy/no-word-attachments.html ______________________________________________________________________ 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/