navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

Microsoft MVP

 

Menu highlight.. change the font colour?

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> Cascading Style Sheets >> Menu highlight.. change the font colour?
Page: [1]
 
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 7:14:36   
It's working for me... did you sort it out?

_____________________________

"My strategy is so simple an idiot could have devised it"
Little Blue Plane Web Design | Blood, Sweat & Rust - A Land Rover restoration project

(in reply to Adila)
Adila

 

Posts: 202
Joined: 11/16/2003
Status: offline

 
RE: Menu highlight.. change the font colour? - 8/9/2006 7:43:50   
no

uhh.. when i pointed my mouse on the "laman utama" i want the font colour to be black but it is still white =.=

_____________________________

:)

(in reply to Tailslide)
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

(in reply to Adila)
Adila

 

Posts: 202
Joined: 11/16/2003
Status: offline

 
RE: Menu highlight.. change the font colour? - 8/9/2006 9:08:22   
ah ic

thanks :)

_____________________________

:)

(in reply to Tailslide)
Page:   [1]

All Forums >> Web Development >> Cascading Style Sheets >> Menu highlight.. change the font colour?
Page: [1]
Jump to: 1





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