Sent by Jukka K. Korpela on 18 January 2005 21:09
On Tue, 18 Jan 2005, Bob McClelland wrote:
> I have a need to put an occasional image amongst a section of text,
> sometimes to the left, and sometimes to the right.
- -
> (I hope this formatting survives :-)
I'm afraid it didn't, but the basic idea seems to be put an image on a
page so that text flows on the left or right of it. For this, float: right
or float: left usually works well, provided that you use the clear
property to stop floating when needed and that you take care of some
spacing (margin or padding) so that the text doesn't touch the image.
> How do you experts handle this kind of thing? I've done 'float:left',
> text-align: left etc, and whilst FF is fine, IE causes me all kinds of
> headaches.
I don't see what text-align: left is for - it's the default anyway. But
please post a more detailed question, with a URL, so that the problem can
be seen and analyzed. There are various pitfalls and bugs in floating, and
they need various cures.
--
Jukka "Yucca" Korpela, http://www.cs.tut.fi/~jkorpela/
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/