PDA

View Full Version : HTML/CSS question


GeorgeTH
2003-10-29, 05:30 PM
Just a short one:

how can I format a header tag <h2> so that it isn't followed by a double line break?

I know how to format the text using CSS, and to make it a little more challenging the text is positioned with 'position: relative; top: -28px;' to align with the upper edge of a border graphic. But as soon as I combine the Style Sheet with a HEADER tag I get too much space below the text.
I'd really like to use headers for se placements...

Cheers

DangerDave
2003-10-29, 07:54 PM
Too easy... :D


<style type="text/css">
h1 { display: inline; }
h2 { display: inline; }
h3 { display: inline; }
</style>


DD

GeorgeTH
2003-10-29, 09:12 PM
|goodidea

WORKING WELL! Cheers, Dave! |peace|
That was one I didn't know (but then - there are lots of css bits I don't know...)

GeorgeTH
2003-10-29, 09:17 PM
Originally posted by GeorgeTH
WORKING WELL! Let me rephrase this: working almost very well - Netscape 4.7 doesn't wanna know about it - bugger! But what to expect?
Just that I had everything else working in Netscape 4.7, too... |pcsucks|