Jump to content

Firefox and underlines

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
2 replies to this topic

#1
dirkfirst

dirkfirst

    Programming Expert

  • Members
  • PipPipPipPipPipPip
  • 354 posts
In IE I have removed my underlines for links using CSS but they are still there in FireFox. Whats more, they are black and my text is white so it doesn't look good. Is there something specific that needs to be done for FireFox to not have underlines?

#2
TkTech

TkTech

    The Crazy One

  • Moderators
  • 1,396 posts
A simple:
a {text-decoration: none;}
should do it on all browsers....

#3
Lop

Lop

    Speaks fluent binary

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,172 posts
Yeah, this works for me. If you have a class defined after you do Tk's code above it will not work. Define this after you define the class.

<a href="" class="myclass"><div style="text-decoration: none;">.....

NOT

<div style="text-decoration: none;"><a href="" class="myclass">.....