My website renders differently in Forefox; white space is added around my recently added flash movies. I've added the display:block to the objects but this doesn't quite fix it. Any ideas? www.jamescartledge.co.uk
I've recently added 3 new flash movies to my site which is a basic HTML site. Dreamweaver codes this differently in CS4 and Firefox seems not to like it; it adds white space around the movies. I've added display:block to the swf objects but this doesn't completely cure the problem – it also makes the site explode in DW. The site is at: http://www.jamescartledge.co.uk. Any suggestions?
This happened
Every time Firefox opened
== I uploaded the new images; a fortnight ago
Все ответы (3)
Just one. Don't use Dreamweaver
You can use object if you use object instead of embed to avoid adding white-space (object is a block element). I'm not seeing your issue on Linux. Can you post a steps to go to a specific page and maybe add a screenshot?
Hi cor-el,
thanks for this, although I've added the display:block to avoid Firefox adding the descender space beneath the imaginary baseline. Before I did this there were gaps above and below the swf totalling about 7 px - there is now about a 1 px gap above.
I've recoloured the background to the flash movie dark grey on the index, portfolio and contact pages so the space is less visible. The 'what's new' page uses the code that Dreamweaver added a couple of years ago and it works fine. Would it help if I recolour the background so you can see more clearly?
Unfortunately I'm quite dependent on DW to insert code. I built the site a while ago, and the latest version of DW adds considerably more code than it used to when I insert a flash movie. It does use object tags rather than embed tags, but you'll see that the what's new page (original code) works fine.
What's going on??
PS congrats on 79000 posts. Holy crap.