[lug] OT: HTML Question (Don't know where else to turn.)

Michael D. Hirsch mhirsch at nubridges.com
Fri Mar 28 11:46:57 MST 2003


On Friday 28 March 2003 12:33 pm, Peter Hutnick wrote:
> Sorry for being so off-topic.  I hope nobody gets too bent out of shape
> :-)
>
> I'm having trouble with floating images in XHTML 1.0.  If I have two
> floating images in two different <p>aragraphs I'd expect them to
> vertically align.  But I find that they stair step instead if there
> isn't enough text in the paragraph to force the subsequent image down. 
> See the three images at the bottom of http://hutnick.com .
>
> I'm interested in any suggestions that are valid XHTML that will produce
> the effect I am looking for.

I asked our resident XHTML guru (Meredith Howle) and she says: change your 
css file to have this line at the end:

IMG.left { float: left ; clear: left;}

Hope that helps,

Michael




More information about the LUG mailing list