Hi guys and gals,
I am wanting to spruce up my site navigation a bit,
For some reason first-letter does not work on my a elements
basically, for every link in the #top div I want the first letter to be red.
Has anyone any ideas as to why this isn’t working, or a possible solution?
Can you post a link to the site?
No sorry, its down while i’m setting up the database and cms,
I can however post any required markup
The first-letter applies to the first character of the first formatted line of a block level element. It does not apply to inner elements such as anchors on indeed inline elements.
You would need to do something like this:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />