|
User Details |
message
|
|
David Stoltz
post date:
2011-05-01 09:34:12
|
Hi all,
Here's my page showing the problem - this is using one of the layouts from Flexi CSS Layouts:
http://www.stoltz.us/imageproblem.asp
The image on the page is left aligned. The text "should" wrap around it, and it does on IE 8 and 9, Chrome, FireFox, Safari. etc/
On IE 6 and 7, it breaks, and the text starts at the bottom of the image, as if there were no alignment specified.
Is this a CSS problem with this layout? How can it be fixed?
Thanks for any help!
Dave
|
|
|
Andrei Rinciog [Extend Studio]
post date:
2011-05-02 04:56:09
|
Hello David,
No, it's not a problem from the layout. IE 6&7 don't recognize align="left" on the image tag. Plus this way of aligning an image is no deprecated and it's not W3C valid.
You need to use float instead. Put this rule in your CSS:
.left {
float:left;
}
And then add the image with the "left" class:
<img src="" class="left" />
Regards,
Andrei Rinciog
|
|
|
David Stoltz
post date:
2011-05-02 17:40:58
|
|
Awesome - that was the ticket! Thank you!
|
|