**** IE6. Dumb**** rat bastards.
Ok, now that I've got that out of my system, what the hell is wrong with IE6 and text-align? It will NOT center an image for the life of it.
Im trying to center an image inside a div:
Code:
<div style="width: 100px; float: right; text-align: center:">
<img src="blah" /><p>Some Text Here</p>
</div>
Of COURSE the text aligns properly but NOT the image. And of course it works in every other single ****ing browser ever made. I am running IE6 in Standards Mode. I have tried:
and
Code:
margin-left: auto;
margin-right: auto;
I have wrapped the bastard image in another div and tried to center it thinking the float: right might throw it off. Still no luck. That ****ing bastards glues itself to the left part of the div.
What the **** is wrong with IE6?
|