Ready to get started?Download WordPress


Footer Text Decoration (5 posts)

  1. jaeeun
    Posted 2 years ago #


    My footer shows with an underline on my home page on Safari 5.1 even though I set the text-decoration to none. It looks as it should on other pages and Firefox. My guess is that it might have to do with the nggallery on the home page, but really not sure. OSX Snow Leopard.


  2. Can you provide a link to your site so we can take a look and help you diagnose the problem?

  3. jaeeun
    Posted 2 years ago #

  4. There is a text-decoration: underline; attribute set for a:-webkit-any-link via the user agent stylesheet coming from your browser's default settings.

    I suggest placing the <a href> link inside the <footer> tags and creating a Safari-specific body class for <a href> links to override the browser default, e.g. body.safari a { text-decoration: none; }

    Hope that helps.

  5. jaeeun
    Posted 2 years ago #

    That fixed it. Thank you!

Topic Closed

This topic has been closed to new replies.

About this Topic