• Ok I need help removing the border around an image, sounds very simple but firefox is just killing me. If i put the actualy tag border=”0″ around an image it works fine, but I don’t want to go about doing that for every image.
    This tag “img {border:0;}” HAS NO EFFECT in firefox
    This tag “:link img {border:0;}” HAS NO EFFECT in firefox
    This tag “img {border-style; none;}” HAS NO EFFECT in firefox
    If anyone had a problem like this before and found a solution could you help me out.
    PS. As usual everything works absolutely fine, no problems, in Internet Explorer

Viewing 9 replies - 1 through 9 (of 9 total)
  • This is what I’ve got in my CSS and I don’t see any borders (using Firefox) on the few images that I’ve got.
    a img { border: none; }

    Thread Starter basketball

    (@basketball)

    ic, i tried that, and i still see borders. =\ This is really getting on my nerves, Ill work backwards to see what I can do

    Thread Starter basketball

    (@basketball)

    I have no clue how to explain this but if I remove this line the borders magically disappear in firefox
    .time (text-align: center;}
    weird….

    If that is an exact copy and paste, it’s the (
    It was breaking your css.
    🙂

    i have found that getting rid of comments inside the CSS was the solution
    bye bye comments :/
    NOT WORKING :
    <style type=”text/css” media=”screen”>
    <–
    // A browser normally ignores unknown tags.
    a img { border: none; }
    –>
    </style>
    WORKING :
    <style type=”text/css” media=”screen”>
    <–
    a img { border: none; }
    –>
    </style>

    (sorry the code was not kept by wordpress…)

    I just removed the ! between the < and the —
    It won’t otherwise display.

    // is a php comment tag
    /* This is a CSS comment tag */

    in fact comments are possible between Slash Star … Star Slash
    but not with only a double slash at the beginning of a line

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Any help would be appreciated’ is closed to new replies.