Re: [css-d] stop text from wrapping around a floated image?

2005-06-29 Thread Philip Wills
On 6/28/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 Isnt that what a clear is for? Correct me if Im wrong.

Clearing ensures a subsequent element appears below a floated element.
 There's no equivalent horizontally orientated clearing, however
margins allow us to mimic this behaviour easily as long as the width
of the floated element is known.

Hope that makes sense.

Phil Wills
__
css-discuss [EMAIL PROTECTED]
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/


Re: [css-d] stop text from wrapping around a floated image?

2005-06-28 Thread Philip Wills
 Is there any way to stop text from wrapping ar4ound a floated image?
 
 In my example, I have a list with images and text in, and the images are 
 floated to the left. This then means that the text, if it is long enough, 
 wraps around the underneath of the image. I am wondering if there is any 
 graceful way to stop this without wrapping the text in a div (or maybe a 
 p) as well and floating that to the right.

Why not just put the text in a paragraph, it's difficult to know why
this might be semantically dubious without seeing the page, then give
that paragraph a left margin?

Phil Wills
__
css-discuss [EMAIL PROTECTED]
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/