Rollover Spacing Problem…

Soldato
Joined
26 Feb 2004
Posts
4,800
Location
Hampshire, England.
Hey guys,

I’ve just made a simple rollover for the navigation on my site and…

cssrh2.png


Why on earth are they so spaced out?

My code:

#side_menu a {
display: block;
width: 100%;
background-color: #00FF00;

}

#side_menu a:link {
color: #000000;
text-decoration: none;
}

#side_menu a:visited {
text-decoration: none;
color: #000000;
}

#side_menu a:active {
text-decoration: none;
}

#side_menu a:hover {
background: #999999;
text-decoration: none;
}


**Btw, the colour scheme isn’t final :D

Any ideas?

Cheers,

SW.
 
Post the HTML—you're probably wrapping each link in a <p> tag or something similar.

If so, use an unordered list.
 
psyr33n said:
Post the HTML—you're probably wrapping each link in a <p> tag or something similar.

If so, use an unordered list.
I was just about to post back -

Your nearly right :p

I'd put a <br /> after each link...

That'll teach me to nick links from my other site :D

Good suggestion tho.

Cheers,

SW.
 
Back
Top Bottom