website - CSS question
How do I remove the space under the < h1 > tag using CSS in netscape. If I use the below code it works fine in i.e but not in netscape, any ideas why???
Code:-
H1 {
font-family: Arial Black, Arial, Helvetica, sans-serif;
font-size: 12pt;
color: #000000;
font-weight: normal;
margin-bottom: 0px;
}
I have 2 style sheets 1 for i.e and another for ns and a browser detection script with works fine.
any help would be great....
thanks...........
Code:-
H1 {
font-family: Arial Black, Arial, Helvetica, sans-serif;
font-size: 12pt;
color: #000000;
font-weight: normal;
margin-bottom: 0px;
}
I have 2 style sheets 1 for i.e and another for ns and a browser detection script with works fine.
any help would be great....
thanks...........
What I would do is create a class in your CSS called "heading1" or something, then set the font size, face, colour etc you have for h1.
Rather than have:
<h1>This is a heading</h1>
use:
<span class="heading1">This is a heading</span>
That way you get the presentation you require without the associated margins / spacing of the h1 tag.
Rather than have:
<h1>This is a heading</h1>
use:
<span class="heading1">This is a heading</span>
That way you get the presentation you require without the associated margins / spacing of the h1 tag.
Thread
Thread Starter
Forum
Replies
Last Post
jobegold@hotmail.co.uk
ScoobyNet General
2
Sep 27, 2015 09:44 PM



