css margins not working

K

kelly

Yet another question as I get deeper into this CSS mystery.
I'm applying an h2 tag to several lines on my page. I want a small margin
below each of these lines. In the CSS, it looks like this:

h2 { font-family:Arial, Helvetica; font-weight:bold;
font-size:10pt; margin-bottom: 6; }

But when I apply Heading 2 to a line, there's no space beneath it. When I
look at the html, it looks like this:

<h2 style="margin-bottom: 0">Maryland Sea Grant</h2>

Where is that zero margin indicator coming from? I can change the code so it
reads <h2>Maryland Sea Grant</h2>, and that displays correctly, but there's
got to be a better way.
Thanks again for the help.
kelly
 
S

Steve Easton

Remember the "Remove Formatting" trick??


--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed............
........................with a computer
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top