Flash object problem in firefox...

DaveyBoy's picture

They have: 453 posts

Joined: Feb 2003

Well i'm trying to embed a flash animation into my site, in IE it displays just fine but in Firefox, it leaves a 3 pixels of white space under it thus pushing the navigation etc down and disjointing the design.

Apparently it's a bug in Firefox so i don't hold much hope of finding a solution but is there anything i could at least try?

Thanks.

demonhale's picture

He has: 3,278 posts

Joined: May 2005

post a link so that we can look into that problem... or the code you used at least

Roo's picture

She has: 840 posts

Joined: Apr 1999

No it's not a bug in Firefox. I've not had any problem with that. It's most likely something else in your code or CSS. Can you post a link?

DaveyBoy's picture

They have: 453 posts

Joined: Feb 2003

Megan's picture

She has: 11,421 posts

Joined: Jun 1999

That link wouldn't work for me, but try playing with the CSS. Try margins first. Also try display: block and see if that helps.

DaveyBoy's picture

They have: 453 posts

Joined: Feb 2003

well i'm pretty rubbish at coding tbh, i just used dreamweaver to insert a flash object, but having looked on google people have been saying its a fault in firefox so i gave up really but that post above seemed to say otherwise so i'm not sure. The design is a tables design not CSS though.

Megan's picture

She has: 11,421 posts

Joined: Jun 1999

Doesn't matter, you can still use CSS to fix your margins and padding. CSS is so not just for layout - it can be used to style everything. I've had this happen with images as well so I don't think it's necessarily a "fault" in firefox - possibly just a difference in how it handles things.

I was just looking at your portfolio site - you would have a ball with CSS if you gave it a chance Laughing out loud It gives you so much more control over everything.

DaveyBoy's picture

They have: 453 posts

Joined: Feb 2003

i probably will one of these days Wink

demonhale's picture

He has: 3,278 posts

Joined: May 2005

I cant seem to find any difference in FF and IE here pertaining to the flash at the top. the alignment on the right text container isnt the same centered to thie image in the two browsers however...

DaveyBoy's picture

They have: 453 posts

Joined: Feb 2003

the flash is positioned correctly, it's the navigation, it seems to move down a little...

IE

FF

demonhale's picture

He has: 3,278 posts

Joined: May 2005

What I cant understand is that you have succesfully imbed that same flash movie on your front page without having problems, but this particular page has problems...

DaveyBoy's picture

They have: 453 posts

Joined: Feb 2003

nah it happens on all pages doesnt it?

actually that's the only page i have uploaded so not sure what you mean?

Megan's picture

She has: 11,421 posts

Joined: Jun 1999

Either fixing the margins or doing the display: block like I said might work. It would also be helpful in cases like this to get rid of some of the nested tables. The less code you have the eaiser it is to troubleshoot problems Smiling

DaveyBoy's picture

They have: 453 posts

Joined: Feb 2003

believe me i've tried looooads of different ways of settin them tables out last night, in the end though, i do think it's firefox's fault so there Laughing out loud

This page shows why i think it :

http://archivist.incutio.com/viewlist/css-discuss/62376

JeevesBond's picture

He has: 3,956 posts

Joined: Jun 2002

I don't see anything in there that would suggest it's the fault of Firefox and indeed I haven't experienced this problem before.

Am looking at the code now and will post back when I can find an answer. Smiling

a Padded Cell our articles site!

JeevesBond's picture

He has: 3,956 posts

Joined: Jun 2002

Ok, I have had this problem before, take a look at:
http://www.intermedia-online.com/personal/alliband/solutions.htm

It's fixed? Hopefully your replying yes to that, the solution is actually very simple: Take the spaces out of anything to do with the Flash embedding. So the code for the td with the flash will look like:

<td background="solutions_files/topbg.gif" height="132"><div align="right"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" height="132" width="200"><param name="movie" value="tester.swf"><param name="quality" value="high"><embed src="solutions_files/tester.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" height="132" width="200"></embed></object><img src="solutions_files/freefone.gif" height="132" width="338"></div></td>

It's dirty, I hate the fact you've used nested tables and I'd also be very suprised if this actually validated... But it works.

I also hate Flash, and tables, also Megan's right. You might actually enjoy CSS if you give it a shot, this code's a mess Wink

a Padded Cell our articles site!

DaveyBoy's picture

They have: 453 posts

Joined: Feb 2003

Don't care about the code Laughing out loud

If it works, it works - that's my philosophy. If it makes me a crap designer, so be it Laughing out loud

Just tried that...cheers mate, owe you a pint Wink

DaveyBoy's picture

They have: 453 posts

Joined: Feb 2003

may i also apologise to Mr. Fire Fox for giving the blame Laughing out loud

JeevesBond's picture

He has: 3,956 posts

Joined: Jun 2002

lol, no worries mate. I don't care if you don't care, but I do have to mention these things! Laughing out loud

Mr Firefox says that's ok, he doesn't care either way as he's still better than ie.

a Padded Cell our articles site!

demonhale's picture

He has: 3,278 posts

Joined: May 2005

the old one i mean the one where you have the tag problem before... that url you posted there have no nav bar problem. anyways its fixed now aint it...

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.