Log in

View Full Version : Please Help! Site works in FF but not IE



martinsbook
10-09-2006, 02:18 PM
Hi

I have a website which works fine in Firefox, but has problems in Internet Explorer. can someone please have a look and see what is wrong? the positioning of the Div boxes go wrong in IE, and also it seems like the site is scretched vertically.

http://migvideo.co.uk/migcan/index.html

many thanks

mburt
10-09-2006, 02:28 PM
Positioning is going to be different in IE and Firefox anyway. The only way to sevure a DIV is to use offsetTop, and offsetLeft property. It will position something according to an elements position from the left of the screen and the same for the top. You can also you offsetHeight and offsetWidth

blm126
10-09-2006, 03:42 PM
The only way to secure a DIV is to use offsetTop, and offsetLeft property. It will position something according to an elements position from the left of the screen and the same for the top. You can also you offsetHeight and offsetWidth
Not true, offsetTop and offsetLeft are the position relative to offsetParent. offsetParent could be any element. Also, I think the OP wants a CSS solution as he is posting in the CSS forum.

martinsbook: IE7 may be at fault here. If your rounded corners javascript file accounts for IE problems than IE7 may be ruining things when trying to help. Please remove IE7 then let us check it out