Arun Stephens

Annoying spacing problem with Flash <object> tag

Not sure if this is SWFObject-related or Flash-related or tag in general-related, but I was working on a page today and in Firefox a 4 or 5 pixel gap. According to the FAQ for SWFObject (item 11), to fix it, you just have to set display:block on the object tag.

Simples!