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