Floating images simultaneously left and right

Giganews Newsgroups
Subject: Floating images simultaneously left and right
Posted by:  John Dann (ne…@prodata.co.uk)
Date: Thu, 01 Apr 2004

I have a layout where I'd like to float one small image to the top
left of a page, another small one to the top right and with a single
central column of text. I've set this up and it seems to work OK in
IE6 just by using:

<img class="floatl" src="img1.gif" etc
<img class="floatr"src="img2.gif" etc
<p>Some text in the middle</p>

Simple question: It works OK in IE6, but is it reasonable to assume
that this behaviour will be robust in other recent browsers that know
about CSS? Or maybe not?

TIA
John Dann

Replies