Page 1 of 1

image float...text is very near..

Posted: Mon May 16, 2005 2:02 am
by pleigh
question here...i used
style="float:left"
in an image....problem is, in ie, there is some distance between the image and the text....but in firefox, the distance of the image and the text is very, very near....how can i control the margin of the text?

thanks...

Posted: Mon May 16, 2005 4:23 am
by anjanesh
Works in body and table tags. I dont know if it works is all tags.
Give a trial-and-error for any combination of these :

Code: Select all

margin:auto;
margin-left:auto;
margin-right:auto;
margin-top:auto;
margin-bottom:auto;