[thelist] aligning two images

martin.p.burns at uk.pwcglobal.com martin.p.burns at uk.pwcglobal.com
Thu Apr 18 07:04:12 CDT 2002


Memo from Martin P Burns of PricewaterhouseCoopers

-------------------- Start of message text --------------------

Or if you want XHTML Strict compliance:

<div>
<img src="image1" style="float:left;" />
<img src="image2"  style="float:right;" />
</div>



If you need to have the two images in a <div>, you would do it
like this:

<div align='your_align'>
<img src='image1' align='left'>
<img src='image2' align='right'>
</div>


-----Original Message-----
From: thelist-admin at lists.evolt.org
[mailto:thelist-admin at lists.evolt.org]On Behalf Of Syed Zeeshan Haider
Sent: Thursday, 18 April 2002 6:36 PM
<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.


----- 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

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.


--------------------- End of message text --------------------

This e-mail is sent by the above named in their
individual, non-business capacity and is not on
behalf of PricewaterhouseCoopers.

PricewaterhouseCoopers may monitor outgoing and incoming
e-mails and other telecommunications on its e-mail and
telecommunications systems.
----------------------------------------------------------------
The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material.  Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited.   If you received
this in error, please contact the sender and delete the material from any
computer.




More information about the thelist mailing list