Log in

View Full Version : CSS work with Firefox Opera but not with IE6



taghaboy
04-21-2008, 04:00 PM
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 :


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

Nile
04-21-2008, 04:03 PM
What does this do, the highlighted:

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

taghaboy
04-21-2008, 04:16 PM
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

harryknight
04-22-2008, 11:05 AM
I don't use align now as it isn't 'done' use 'float' instead

:)