add this in the <head> of your html
Done that and it has made no difference. Do you know what I mean by this? It seams that Firefox puts padding or a frame round the swf so it wont stay where it should.
Very, very frustrating. Does it matter where in the head tag I put your suggested code?
Many thanks, P
please post a link to your html file so I can look at it. thanks
I looked at it in firefox and chrome side by side and I don't see anything glaringly wrong in either. i also noticed that the code I provided isn't implemented. your site looks really nice.
...also just realized I updated firefox to version 3.5.6 today... maybe that fixed it on my end...
just saw in your code you have:
<p align="center"> right above your <object> tag. the p tag very well could be adding a margin.
Hmmm did you have a look at it in IE?
That is how I have designed it and where the flash image should be. In Firefox the image is higher and has moved.
Hmmm take on board your suggestion about the <p> and will sort in the morning as it is getting late here.
Sorry I did try it with your code and will do so again in the morning, will try it all and re publish.
Will let you know how it go's but as mentioned in IE is how it should be, in Firefox is how I dont want it.
Hey, thanks for your comments on my site. New to Flash hence all the problems, the site is mostly finished with just a few outstanding issues to sort.
Will let you know how I get on tomorrow.
Thanks for now, P
I have placed the code you suggested yesterday into my page and also removed the <p> tag however the swf is still not being displayed where I am putting it.
If you lok at http://www.testsite66.jazconsultancy.co.uk/ in IE, that is where I want the swf to sit. In Firefox it is still being moved up slightly.
Any other thoughts, P
ok, your problem isn't flash or firefox.
what is happening is IE is putting more space between the top of your page and your table than firefox, chrome, better browsers.
basically it looks like the page margins are being interpretted differently
add this to your styles;
test different browsers. adjust number as necessary.
also it would help to edit your <table> tag as shown below
<table border="0" height="555" id="table1" cellspacing="12" style="border-right-width: 0px; border-bottom-width:0px; border:solid 1px #f00;" width="996">
this will put a 1 pixel red border around the table and you can see the variance in space on the top
Hmmm I tend not to mess with code to much as I tend to start making a mess of things
When you say:
add this to your styles
what to you mean and where to I place this?
Many thanks for your help by the way. P
note the curly brackets NOT parenthesesises.
it goes any where inside one of you existing <style> blocks
Joy of joy it has worked!
All I did was place the 'body margin: 12px' code into and existing <style> block, didn't do the other bit you suggested and hey it works in IE, Firefox and Safari.
Still not to sure why this has happened but very grateful it is sorted. I will keep this as an example and use this in future.
Have a look at the testsite again and see what you think, remember it is IE that displays how I am designing so worth looking there first then comparing it with Safari and Firefox as they were the ones I presume were reading the code correctly and displaying what was really being displayed.
Got a new problem now about transparency as you'll see in Safari you can see a bit of background at the bottom of the swf. Funny but Firefox is okay with this transparency while Safari isn't. That problem is on another discussion *sigh*.
Thank you very much again, I would never have got that postitioning problem sorted .
glad it worked out. cross-browser issues are a real pain. pls mark this thread as "answered" if you still can.
Marked as answered.
Still not sure of the whys and what fore's and yes I agree, cross-browser issues are a real pain and have seen many threads on here remarking on the same issues.
Thanks again for your help.
Updated my site with the type of imagery I may end up using:
I changed the size of the swf and it all went off again so I need to get my head around this border business. I increased the size of the swf only slightly but it was enough to change things in a bad way. Think I'll leave it as is and may add the additional code so I can see the borders while editing.
Thanks again, P