#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2005
    Posts
    215
    Rep Power
    14

    Lines under images that are links (in Firefox)


    on this page http://tampabay-online.org/cetr/artists.php

    I am getting lines under the images and text that are links (I do not want the line under the images). This happens in Firefox. It displays how I want it to in IE and Opera. I usually design my sites for Firefox but I really trust Opera's compliance.

    my css includes :
    Code:
    a img {
    border: none;
    }
    Any ideas where the lines are coming from?

    Thanks!
  2. #2
  3. Thanks Johnny Hart (BC) R.I.P.

    Join Date
    May 2003
    Location
    Dallas
    Posts
    5,262
    Rep Power
    1960
    That doesn't seem to be an underline, but rather the space created in the inline box for letter descenders. Do this:
    Code:
    a img {
        border: none;
        vertical-align: bottom;
        }
    cheers,

    gary

    Comments on this post

    • freejazz agrees : Thanks!
    There are those who manage to build a web site without knowing what they're doing; thereby proving to themselves they do, indeed, know what they're doing.

    My html and css workshop, demos and tutorials.
    Ask a better question, get a better answer.

IMN logo majestic logo threadwatch logo seochat tools logo