|
| |
|
|
Adila
Posts: 202 Joined: 11/16/2003 Status: offline
|
Menu highlight.. change the font colour? - 8/9/2006 6:36:49
geehhh okay i know that this suppose to be easy but oh well.. i still cant figure it out lol how to make something like this http://dynamicdrive.com/ (left, the menu from font colour, green to white)? A.menulink { display: block; width: 148px; text-align: left; text-decoration: none; font-family:arial; font-size:8pt; color: #FFFFFF; } A.menulink:hover { font-family:arial; font-size:8pt; color: #000000; border: solid 1px #FFFFFF; background-color:#CCCC00}; } is it? it doesnt work =.= http://www.smkdso.edu.my/v1.htm help? thanks ^^
_____________________________
|
|
|
|
Tailslide
Posts: 6003 Joined: 5/10/2005 From: Out here on the raggedy edge Status: offline
|
RE: Menu highlight.. change the font colour? - 8/9/2006 8:45:46
Oh ok. You need to remove the font colour tag on the menu items themselves within the markup as this will overrule any CSS further up the cascade chain. You should also make the font-colour of the hover rule black. Then it works fine. Font tag: <font color="#FFFFFF"> CSS rule should be: a.menulink:hover {
font-family:arial;
font-size:8pt;
color: #000000;
border: solid 1px #FFFFFF;
background-color:#CCCC00};
} It's black in your post above but on the page itself it isn't it's #CCCC00;
_____________________________
"My strategy is so simple an idiot could have devised it" Little Blue Plane Web Design | Blood, Sweat & Rust - A Land Rover restoration project
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|