4WebHelp
 FAQ  •  Search  •  User Groups  •  Forum Admins  •  Smilies List  •  Statistics  •  Rules   •  Login   •  Register
Toggle Navigation Menu

 CSS help
Post New TopicReply to Topic
View Previous Topic Print this topic View Next Topic
Author Message
GunstarHero
Junior WebHelper
Junior WebHelper


Joined: 15 Apr 2003
Posts: 35

PostPosted: Wed May 21, 2003 12:00 pm (14 years, 6 months ago) Reply with QuoteBack to Top

Hi,

In an effort to validate my CSS and correct any bad habits I've picked up, I've stumbled onto something that I can't figure out.

Take a look at this image:

Image


This is the CSS code:

Code:
BODY {
   background: #696969;
   color : silver;
   font-family : "Bookman Old Style", "Times New Roman", serif;
   font-size: 14px;
   text-align: left;
}

H2 {
   font-size: 14pt;
}

H3 {
   font-size: 15pt;
   font-style: italic;
   font-family: sans-serif;
}

H4 {
    font-family: sans-serif;
    font-size: small;
}

A {
   color: white;
}

A:Hover {
   color: yellow;
}

HR {
   height: 1pt;
}



Under the headings, there are extra spaces. How do I get rid of this unwanted space? I'm sure it's obvious!

Anyone?

Cheers!

Anil
OfflineView User's ProfileFind all posts by GunstarHeroSend Personal Message
adam
Forum Moderator & Developer



Joined: 26 Jul 2002
Posts: 704
Location: UK

PostPosted: Wed May 21, 2003 12:07 pm (14 years, 6 months ago) Reply with QuoteBack to Top

line-height: NUMpx;

EDIT: or perhaps margin-bottom: 0px;

________________________________
It's turtles all the way down...
OfflineView User's ProfileFind all posts by adamSend Personal MessageVisit Poster's Website
GunstarHero
Junior WebHelper
Junior WebHelper


Joined: 15 Apr 2003
Posts: 35

PostPosted: Wed May 21, 2003 1:10 pm (14 years, 6 months ago) Reply with QuoteBack to Top

Cheers Adam,

margin-bottom: 0px;

this does the trick nicely!

Very Happy

Anil
OfflineView User's ProfileFind all posts by GunstarHeroSend Personal Message
Display posts from previous:      
Post New TopicReply to Topic
View Previous Topic Print this topic View Next Topic


 Jump to:   




You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot edit your posts in this forum.
You cannot delete your posts in this forum.
You cannot vote in polls in this forum.


Page generation time: 0.063509 seconds :: 17 queries executed :: All Times are GMT
Powered by phpBB 2.0 © 2001, 2002 phpBB Group :: Based on an FI Theme