As I said, I get the same on all three browsers I tested on.

Screen shots from Safari 4:

large browser window size<http://www.misterhee.com/tests/runemadsen/rune.01.jpg>

small browser size: <http://www.misterhee.com/tests/runemadsen/rune.02.jpg>

You can see that Flash does not take over the screen, and the header and
foot remain (I believe this is what the site is supposed to do based on your
description)


As this is a CSS issue, I would suggest that you will find more help on
other forums, but someone else onthe list might be able to help out with
some CSS pointers.


Here is a site example which has a fixed header / footer and flash content
in the center which might help (if you have a look at the CSS etc):
http://www.dream-abstract.com/new/index.htm

Here is 1 implemetation of a fixed header/footer via CSS:
http://www.cssplay.co.uk/layouts/basics2.html

here is another:
http://www.456bereastreet.com/archive/200609/css_frames_v2_fullheight/



Aran

On Fri, May 29, 2009 at 5:26 PM, Rune Skjoldborg Madsen <[email protected]
> wrote:

>
> Thanks...
>
> But I don't think that's exactly true. Safari shows the right size of
> the div when I'm not embedding the Flash content. But when the flash
> content is inserted, it fills more than the box height - the entire
> browser area.
>
> The main div is set as position absolute and top: 155px, bottom:26px, so
> I have constrains.
>
> None of the other browsers do that.
>
> Do you have a method on how I can achieve what I want? To have a fixed
> size html header and footer and a main area with flash content that
> fills the rest of the screen.
>
> Med venlig hilsen / Kind regards
>
> Rune Skjoldborg Madsen
> Freelance web designer / developer
>
> [email protected]
> www.runemadsen.com
> (+45) 61 71 34 50
> Falkoner Alle 73A, 5th floor
> 2000, Frederiksberg
> Denmark
>
>
>
>
> Aran Rhee wrote:
> > All three browsers behave exactly the same for me ( I am using Safari
> > 4, IE7, FF3)
> >
> > That being said, I think this is just how you are defining your CSS
> > for your various containers. The issue is not actually related to
> > SWFObject, as it has written the content to the page correctly.
> >
> > Remember that SWFObject REPLACES the flashcontent div, so you need to
> > define whatever layout constraints you want to the "main" div via css
> >
> >
> > Aran
> >
> >
> >
> > On Fri, May 29, 2009 at 4:37 AM, Ronze <[email protected]
>  > <mailto:[email protected]>> wrote:
> >
> >
> >     Hey everyone
> >
> >     I'm working on a HTML page with a flash movie embedded in the main
> div
> >     (middle). I have a header div, a main div that is absolute
> positioned,
> >     and a footer that is absolute positioned.
> >
> >     Everything works fine in all browsers. When I embed my Flash content
> >     using SWFObject as 100% height and 100% width, it also works fine in
> >     FireFox 3 and IE. But in Safari the flash movie will become 100%
> >     height of the browser, not the div. The flash movie is now bigger
> than
> >     the actual screen, even though it should fit the main div 100%.
> >
> >     You can see the test here:
> >     http://www.runemadsen.com/test/
> >
> >     What can I do to make it work in Safari? As you see, the content is
> >     lying under the footer in safari because the embedded flash movie
> size
> >     is too high.
> >
> >     Thanks
> >
> >     >
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"SWFObject" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/swfobject?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to