Click to See Complete Forum and Search --> : [RESOLVED] Embedding flash in an iframe, won't resize height


clearfork
03-31-2010, 02:07 PM
I am trying to ad a couple of flash games to my site and have been running into a snag. I am trying to embed them with an iframe now but have also tried simply inserting the swf with the same results.

I can resize the width, but the height will not change and I cannot the the entire game to display. Not sure if this is something i am not doing correctly or something in the css that is causing the issue.

Here is a link to show what i am talking about. http://testsite.clearforkcountry.com/gringobandido.html

Any help would be greatly appreciated.

rproctor83
04-02-2010, 11:06 AM
The problem lies somewhere in your CSS. I was able to find out that by removing

style4.css

from your page that it would allow the entire embed to show up. I would think it probably has something to do with floating your elements and not clearing before the include.

fourbit
04-02-2010, 07:55 PM
In your style4.css file there is an entry for
* {

it has height: auto; in it. Try removing that.

Paul

clearfork
04-03-2010, 10:08 AM
Thanks so much, I can't believe I missed that.

fourbit
04-03-2010, 05:10 PM
You are very welcome. ;)

Sometimes I can't see the forest for the trees. And, I usually figure things out just after I post a question. :D

Paul