|
Author |
Message |
GunstarHero
Junior WebHelper
Joined: 15 Apr 2003
Posts: 35
|
Posted:
Wed May 21, 2003 12:00 pm (20 years, 11 months ago) |
|
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:
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 |
|
|
|
|
adam
Forum Moderator & Developer
Joined: 26 Jul 2002
Posts: 704
Location: UK
|
Posted:
Wed May 21, 2003 12:07 pm (20 years, 11 months ago) |
|
line-height: NUMpx;
EDIT: or perhaps margin-bottom: 0px; |
________________________________ It's turtles all the way down... |
|
|
|
GunstarHero
Junior WebHelper
Joined: 15 Apr 2003
Posts: 35
|
Posted:
Wed May 21, 2003 1:10 pm (20 years, 11 months ago) |
|
Cheers Adam,
margin-bottom: 0px;
this does the trick nicely!
Anil |
|
|
|
|
|
|
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.121972 seconds :: 19 queries executed :: All Times are GMT
Powered by phpBB 2.0
© 2001, 2002 phpBB Group :: Based on an FI Theme
| |