Results 1 to 4 of 4

Thread: CSS work with Firefox Opera but not with IE6

  1. #1
    Join Date
    Jul 2006
    Location
    Agadir - Morocco
    Posts
    33
    Thanks
    5
    Thanked 0 Times in 0 Posts

    Exclamation CSS work with Firefox Opera but not with IE6

    hi all,
    Hi all,
    i have a CSS code who work perfectly with Firefox and Opera but it dont work with Internet Explorer6, this CSS do a border over an image :

    Code:
    img.left, img[align="left"] {
    float:left;
    background-color:#E4F4FF;
    border:1px solid #AFDFFF;
    float:left;
    margin:3px 5px 0px 5px;
    padding:5px;
    }
    Thanks for help

  2. #2
    Join Date
    Jan 2008
    Posts
    4,168
    Thanks
    28
    Thanked 628 Times in 624 Posts
    Blog Entries
    1

    Default

    What does this do, the highlighted:
    Code:
    img.left, img[align="left"] {
    float:left;
    background-color:#E4F4FF;
    border:1px solid #AFDFFF;
    float:left;
    margin:3px 5px 0px 5px;
    padding:5px;
    }
    Jeremy | jfein.net

  3. #3
    Join Date
    Jul 2006
    Location
    Agadir - Morocco
    Posts
    33
    Thanks
    5
    Thanked 0 Times in 0 Posts

    Default

    hi, it's a wordpress tag ID, i call the image inserted in the content area to be aligned right or left.
    and pls, what's the code line who IE6 dont accept to show the border?

    Thanks

  4. #4
    Join Date
    Feb 2006
    Posts
    39
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default

    I don't use align now as it isn't 'done' use 'float' instead


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •