acidglitter Posted August 28, 2007 Share Posted August 28, 2007 If I was to use the float layout in this tutorial http://css.maxdesign.com.au/floatutorial/tutorial0915.htm And then in the content I had a picture that floated to the left, how could I start a new line? If I put <p style="clear:left"> it would probably start that paragraph below the navigation on the left instead of just below the picture. (hopefully that made sense) Link to comment https://forums.phpfreaks.com/topic/66990-float-question/ Share on other sites More sharing options...
SuperBlue Posted August 29, 2007 Share Posted August 29, 2007 If I was to use the float layout in this tutorial http://css.maxdesign.com.au/floatutorial/tutorial0915.htm And then in the content I had a picture that floated to the left, how could I start a new line? If I put <p style="clear:left"> it would probably start that paragraph below the navigation on the left instead of just below the picture. (hopefully that made sense) Not shure what you mean, but if i got it right, then your trying to get the paragraph to render below the image that floats left?, well the way i would do it, would be to use display: block; on the image itself. Link to comment https://forums.phpfreaks.com/topic/66990-float-question/#findComment-337130 Share on other sites More sharing options...
ToonMariner Posted August 30, 2007 Share Posted August 30, 2007 Have you tried clear left? a clear should only move the element to 'the next line' if there is a floated element that will intefer with it withi it's own container... browsers obviously render this differently but give it a try and see how you do. You may have to play with the caontainer divs to make it work. Link to comment https://forums.phpfreaks.com/topic/66990-float-question/#findComment-337770 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.