...

View Full Version : [problem solved!!!]ie explorer ignoring "right" property when "left" is present.



oishiimsg
05-18-2008, 02:06 AM
Hi, i cant seem to figure out why this wont work. i have an iframe on a page and i wanted the dimensions of the frame to be dynamic to the browser window size so i used:

#iframe {
position:absolute;
border:none;
right:0px;
top:127px;
left:80px;
height:440px;
}
the only problem is IE ignores the "right" property when the "left" property is present. It works fine in Mozilla. The thing is i cant just remove "left:80px" and add a width because i need the frame to always be 80px from the left edge and vice versa for the same reason. what can i do to fix this? thanks

Apostropartheid
05-18-2008, 05:23 PM
IE6 and below do not support more than two absolute positions co-ordinates. See A List Apart (http://www.alistapart.com/articles/conflictingabsolutepositions/) for a fix.

oishiimsg
05-18-2008, 06:02 PM
Wow, that article was great. thanks a lot for the link, it was exactly what i was looking for. I can finally rest in peace now with this solved. Thanks again for the help!:thumbsup:



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum