[thelist] IE display behavior - image too wide for window

Bob Boisvert webdad at tampabay.rr.com
Sun Feb 26 20:43:02 CST 2006


<snip>
Where as IE knocks the start of the image down below the end of the left bar
(which is a big problem!).
</snip>

Michael,

Here is what I did to keep the image from falling below the left block in
IE, the code is below. I'm not sure if this is the right approach but I
absolutely positioned the div with the image and floated it right. It seems
OK in both IE and Firefox. I'm pretty new to CSS-P but learning.

<div style='background-color: #99BBDD; float: left; width: 180px;
height:200px;'> <p>Left Bar</p> </div>
 
<div style='position:absolute; margin-left: 185px; float:right;'>
<img src="images/DSC00727_edited-1.jpg" />
</div>

Bob
 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.375 / Virus Database: 268.1.0/269 - Release Date: 02/24/06
 




More information about the thelist mailing list