Hi.
I'm making a new website. On that site i need to create a menu where the starting letter of the links has a different size and color.
Is that possible, and if so, how?
Regards
Anders
Textcolor in menu
-
- Forum Members
- Posts: 80
- Joined: Thu Sep 13, 2007 10:50 am
Re: Textcolor in menu
Hi,
Take a look at the pseudo element first:letter, I think this will do what you need.
http://www.w3schools.com/css/pr_pseudo_first-letter.asp
Bob
Take a look at the pseudo element first:letter, I think this will do what you need.
http://www.w3schools.com/css/pr_pseudo_first-letter.asp
Bob
-
- Forum Members
- Posts: 26
- Joined: Sun Oct 08, 2006 4:38 pm
Re: Textcolor in menu
that is exactly what i need, but how do i apply it to a standard menu in CMSMS?
Re: Textcolor in menu
Depends on which menu template you are using... something like this?...
#primary-nav a:first-letter {color:#ff0000;font-size:xx-large}
#primary-nav a:first-letter {color:#ff0000;font-size:xx-large}
-
- Forum Members
- Posts: 26
- Joined: Sun Oct 08, 2006 4:38 pm
Re: Textcolor in menu
Im using "simple navigation - vertical". Im not that skilled with these codes, so if you could detailed explanation that would be great.
Anders
Anders