Help - Search - Members - Calendar
Full Version: screen resolution issue + IE firefox diference for margin-left
HTMLHelp Forums > Web Authoring > Cascading Style Sheets
maverick83
hi

i am using the below code for my iframe but there are following two issue causing problems :-

1.different screen resolution giving different positions even though i am using postion:relative

2.margin-left working differently in IE and FIREFOX ,there is a huge white space in IE

i am posting the code below
[code]

#softframe {
height:690px;
margin-left:710px;
width:510px;
margin-top:-490px;
position:relative;
}


,i also tried using %ages instead of px but result wasnt much different


looking forward for a favorable response from experts

regards,
mav
pandy
'position: relative' without parameters doesn't position the iframe anywhere. It is where it would have been anyway. Had you used parameters the offset would be relative where the iframe originally was.

This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.