Stuck on menu bar colors

Soldato
Joined
14 Sep 2006
Posts
3,664
Location
Dorset Apple Cake
Hi

I'm currently creating a webpage and its the second time I have used Dreamweaver. The first time was MX2004 so its moved on a little but I didnt follow. :)

I have created menu bar images in photoshop and added the text on them in Dreamweaver. Now I want them to change color when the mouse is hovering over the menu bar text. I cannot for the life in me work it out. If I add the sprys menu bar its easy but I dont want that.

Do I look in the styles.css file? I'm lost. :confused:

I tried editing the <a> tag but the colors are not showing.
 
a:hover is the css tag you want to create. You will need to target your nav though.

'#mainNav a:hover' or something similar depending on how you've done it.
 
This is the code I have pulled out of the style sheet. Is that the right one and what should it be if you dont mind advising me? :)

Code:
#menu a:hover {
	width: 117px;
    height: 27px;
	padding-top: 10px;
	color: #FFffff;
	text-decoration: underline;
 
I would think that's the correct one and by all accounts, it should work. If it's not, there will be another style overriding that one.
Do you have your site online?
 
You were correct.

I managed to find that the a:hover and a:link were corrupt so I edited it and it all works fine now. :)
 
Back
Top Bottom