PDA

View Full Version : CSS font style not being used by Browsers



JimB
06-26-2009, 07:31 PM
1) Script Title: AnyLink CSS Menu v2.2

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex1/anylinkcss.htm

3) Describe problem: AnyLink CSS Menu v2.2 works fine. Just that the text that the part where
class="anchorclass" rel="submenu1" rev="lr"><font class="links"> is not passing on the "links" style, in this case my CSS shows it as being no decoration. The linked text still has an underline showing in Browsers. But it's OK in my old Dreamweaver MX.

How do I remove the underline?

If you go to http://www.westatholl.org.uk/indexmain.html] you will see it under Previous Results.

ddadmin
06-28-2009, 04:31 AM
The script doesn't actually change the style of the anchor link in any way other than when the mouse rolls over it, in which it applies the .selected CSS class to it. With that said, I can't see how the underline would be due to the script. Make sure there aren't any styles or tags defined on your anchor link that's the culprit:


<a href="Results/AllResults.html" target="mainFrame" class="anchorclass" rel="submenu1" rev="lr"><font class="links">Results</font></a>

JimB
06-28-2009, 04:28 PM
Many thanks for your reply - sorted.

I had left out
style="text-decoration: none" in
<a href> tag but still required the
<font class="links"> to get my other CSS attributes for the text link.

All working fine now.