[SWFObject] swfObject creates useless vertical scrollbar in a liquid layout

Geoff Stearns geoff at deconcept.com
Fri Oct 13 16:20:17 PDT 2006


whoop, i just replied to this on the blog post:

Well that's interesting... have you tried it without SWFObject to see  
if it's something with the Javascript/innerHTML method?

Maybe the object or embed tags are adding a little bit of padding/ 
margin somewhere? (maybe try setting a height/width in the css for  
the object or embed tags?



On Oct 13, 2006, at 5:57 PM, Matt Gates wrote:

> Don't know if anyone's run into this- maybe I'm just trying  
> something unusual- but it seems I've run into a bug. For full  
> browser flash, the swfObj works great, but what I'm trying to do is  
> a liquid 2 column layout with a fixed width HTML column and and an  
> expandable Flash column, and  I'm getting a useless vertical scroll  
> bar when it seems I shouldn't. Check out the evidence...
>
> EXHIBIT A
> http://spacefoundry.com/clientview/opa/noswfobj100/
> This version has no swf- the red area is the <body>, the grey area  
> is the HTML div, and the yellow is the div that I want to replace  
> with the swf using swfObject. You can see that the styles  
> themselves don't create a scrollbar.
>
> EXHIBIT B
> http://spacefoundry.com/clientview/opa/swfobj100/
> Now observe the same markup with the swfObject added- a useless  
> vertical scrollbar appears.
>
> EXHIBIT C
> http://spacefoundry.com/clientview/opa/swfobj99/
> In an attempt to debug this, I changed the height of the yellow  
> swfObject div from 100% to 99%– this removes the scrollbar in  
> Firefox and Safari, but not in IE, and it has the unfortunate side  
> effect of creating a space at the bottom of the page. I want the  
> swf to extend to the full height of the browser window.
>
> Thanks!
> _______________________________________________
> SWFObject mailing list
> SWFObject at lists.deconcept.com
> http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.deconcept.com/pipermail/swfobject-deconcept.com/attachments/20061013/5a3c441f/attachment-0005.htm>


More information about the Swfobject mailing list