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 -~----------~----~----~----~------~----~------~--~---
