MyBB Community Forums

Full Version: Fix my navigation bar? [CSS]
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
This is my CSS:

.menu ul {
	background:#000000 url('images/probluetest/nbg.png');
	list-style-type:none;
	width:100%;
	height:50px;
	margin:0;
	padding:0;
	}

.menu li {
	float:left;
	}

.menu ul a:link {
	color:white;
	display:block;
	padding:15px;
	text-align:center;
	text-decoration:none;
	}
	
.menu ul a:hover {
	background:url('images/probluetest/nbgh.png');
	height:20px;
	}

Everything works fine but for some reason two links show up as blue... and when you hover over them they're black... as opposed to what they should be, white and still white when hovered over like the other four links... Why is this happening and how do I fix it?

[Image: cssz.png]
if you are referring to the forum in your signature then I cant see the two links in blue - they are white as required !!
(2011-08-05, 05:43 AM)ranjani Wrote: [ -> ]if you are referring to the forum in your signature then I cant see the two links in blue - they are white as required !!

It was in a different theme I was working on, not the default.

Anyway, I figured it out, I needed to add two more elements.

.menu a:active, a:visited {
blahblahblah
}