Forums

[resolved] a mysterious "underline" tag is driving me crazy! (5 posts)

  1. iceq
    Member
    Posted 2 years ago #

    Hey.

    At my website http://www.3areda.com, links are automatically underlined (not after hovering over them).

    I tried to remove that,and in my CSS I deleted every underline specification ! Now, if I search my CSS for any "underline" I find zero results.

    And yet the links are underlined !!!

    Where does it come from ?

  2. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    Underling link is the default behaviour. If you want to remove the underline, you have to do so via CSS:

    a {text-decoration:none;}

  3. iceq
    Member
    Posted 2 years ago #

    Thanx, but how can a default behavior be assigned if not by css? I mean, how is it defined in the theme as a default behavior?
    Thank you

  4. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    how can a default behavior be assigned if not by css

    It's defined by the user agent/web browser

  5. iceq
    Member
    Posted 2 years ago #

    I understand now. Thank you very much. I learned also that I can disable the underline effect for specific elements only, using the tag text-decoration:none !important;

    Thank you.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags