2 replies [Last post]
benny
Offline
Enthusiast
Last seen: 13 years 6 weeks ago
Joined: 2004-08-24
Posts: 64
Points: 0

Hi there,

when i try to change the color of the first letter with this code

#navi2 a {width: 100px; color: #000; text-decoration: none; padding-left: 5px;}
#navi2 a:first-letter {color: red;}
#navi2 a:hover:first-letter {color: green;}

i have very strange behavior, hard to describe.
Somebody knows why?
Thank ya,
greets ben

TimeBandit
Offline
Enthusiast
Maryland, USA
Last seen: 16 years 12 weeks ago
Maryland, USA
Joined: 2004-09-02
Posts: 112
Points: 0

#navi2 a:first-letter {color: red;} doesn't work

you're asking for cross-browser problems by using those psuedos - they're not well supported yet

benny
Offline
Enthusiast
Last seen: 13 years 6 weeks ago
Joined: 2004-08-24
Posts: 64
Points: 0

#navi2 a:first-letter {color: red;} doesn't work

thanks ya