Click to See Complete Forum and Search --> : relative positioning in ie.6 & Firefox


stevepugh
07-14-2005, 07:47 AM
I am using CSS to place an animation (SWF) file on a web page I am creating and have hit a problem with how Firefox displays this file.

I have managed to get the animation to be placed in the right place in ie.6 but when viewd in Firefox the animation file ends up half way up the page.

Please see the page at the following URL: http://www.iimia.co.uk/testarea/corporate/corp_aboutustest.htm

Can anyone tell me where I am going wrong with this or am I not and it's just one of those anomalys between IE and Firefox.

I look forward to hearing from anyone, please..........

drhowarddrfine
07-14-2005, 08:09 AM
IE is screwing you up by stretching the layer1 div to fit the content. I can't find the CSS for the layer1 div so I'm assuming it is positioned somehow with floats or absolute. FF is properly collapsing the div so you must use the techniques for clearing the floats or stretching the divs.

stevepugh
07-14-2005, 08:22 AM
Thanks for your help. Could you take another look at the page now and see if I am getting the right end of the stick, as it were.

There isn't a CSS for div layer1 but I am not clear about what you mean about clearing the floats and stretching the divs.

stevepugh
07-14-2005, 08:52 AM
I've now added CSS for div Layer1 but there is still a difference between i.e. and Firefox.