[thelist] aligning two images

Syed Zeeshan Haider szh at hotpop.com
Thu Apr 18 04:15:01 CDT 2002


Hi Rachel,
Dreamweaver 4 generated following HTML code for this purpose:

<img src=".../image1.jpg" width="142" height="36" align="left"><img
src=".../image2.jpg" width="142" height="36" align="right">

Note that it did not used any <div> tags, instead, it used "align"
attribute of <img> tag. It works well in IE 5.5, NN 4.7x, NN 6.2, Opera
6. I used separate pairs of <div> tags with "align" attribute for each
image just to check what happens. It dragged the second image downward
by a reasonable height. It means, this did not work in any browser
mentioned above.
Hope this helps.
Syed Zeeshan Haider.
http://syedzeeshanhaider.faithweb.com/

----- Original Message -----
From: "Rachel Cunliffe" <rachel at cre8d-design.com>
To: <thelist at lists.evolt.org>
Date: Thu, 18 Apr 2002 15:37:53 +1200
Subject: [thelist] aligning two images
Reply-To: thelist at lists.evolt.org

hiya..

this is probably so simple i'm gonna kick myself..

i am wanting to have two images (same height) inside a div - beside each
other - one aligned to the left, one aligned to the right -- i.e. the
amount
of horizontal white-space between them to be determined automatically.

can someone enlighten me please?

tia muchly
rachel









More information about the thelist mailing list