Nick_W

msg:1214694 | 10:07 pm on Apr 23, 2003 (gmt 0) |
Hi Welcome to WebmasterWorld [webmasterworld.com] [webmasterworld.com...] Msg 5 is what you need! Nick
|
tedster

msg:1214695 | 10:14 pm on Apr 23, 2003 (gmt 0) |
Another approach that doesn't involve undoing the block character of the tag is to deal with two things: the margin-bottom of the <H1> and the margin-top of whatever element follows it, often a <p>. The margin collapsing rules state that whichever margin is the larger will be the rendered space between the elements. And it's margins, not just line breaks, that you're seeing in the default behavior of H tags. To get the following copy to butt right up against the header, both margins should be zero, although I prefer just a few extra pixels in there.
|
flashmastermak

msg:1214696 | 10:26 pm on Apr 23, 2003 (gmt 0) |
thanks Nick_W and Tedster Mak
|
annej

msg:1214697 | 3:56 pm on Apr 25, 2003 (gmt 0) |
I was just struggling with this yesterday and here was the answer. What a great forum. Thanks. Anne
|
|