I.E. 6 cannot support what can i do?

Discussion in 'CSS' started by i_am_dhaval, Jun 20, 2007.

  1. #1
    see this type of css

    a[href^="http:"] {
    background: url(images/externalLink.gif) no-repeat right top;
    padding-right: 10px;
    }

    I.E. 6 cannot support

    but working Fire Fox.....

    how can i solve this.....problem.......????????
     
    i_am_dhaval, Jun 20, 2007 IP
  2. krt

    krt Well-Known Member

    Messages:
    829
    Likes Received:
    38
    Best Answers:
    0
    Trophy Points:
    120
    #2
    Use Javascript or a server side language. You cannot do this in CSS alone and keep cross browser compatibility. Or you can add a class/style to each external <a> link, I use class="extLink".
     
    krt, Jun 20, 2007 IP
  3. Dan Schulz

    Dan Schulz Peon

    Messages:
    6,032
    Likes Received:
    436
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Use a class if you need to support that. Not only is it backwards (and cross-browser) compatible, but it'll also save you from having to write that kind of CSS anyway.
     
    Dan Schulz, Jun 20, 2007 IP