Just add the border CSS to the wrapper, not the inner div.

Also, as you are using IE and non IE stylesheets, you can just specify
unique style values etc

Aran

On Wed, Jun 10, 2009 at 2:51 PM, scruffydoo <[email protected]>wrote:

>
> thanks aran, thought of that but as it works ok in IE then surely it
> must be a FF glitch another div will give it 2 borders in IE do you
> think?
>
> url is here, you can see what I mean http://www.scrooz.com.au/index.php
>
> On Jun 10, 2:35 pm, Aran Rhee <[email protected]> wrote:
> > The easiest thing I can think if is for you to include a wrapper div as a
> > parent to flashmainbannerdiv which has the CSS applied to it.
> > You have to keep in mind that SWFObject REPLACES the alt content div with
> an
> > object element, so any CSS you apply to the alt contnt div will be wiped
> > out.
> >
> > Cheers,
> > Aran
> >
> > On Wed, Jun 10, 2009 at 2:01 PM, scruffydoo <[email protected]
> >wrote:
>  >
> >
> >
> >
> >
> > > Ok I admint defeat, I've benn on this all day and can't figure it out.
> > > I have a 1px bottom border which is important to the design of my
> > > flash movie, I've embedded with SWFObject 2 but this border disapears
> > > in FF although its fine in IE. I have been through the FAQ and tried
> > > outline : none and also display:block to no avail (unless Im putting
> > > them in the wrong place). Worked ok with a dreamweaver insert but I'd
> > > prefer to use SWF2.
> >
> > > Be grateful for any ideas with this or an idiots guide. thanks, heres
> > > my code.
> >
> > >  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://
> > >www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
> > > <html xmlns="http://www.w3.org/1999/xhtml"; lang="en" xml:lang="en">
> > >        <head>
> > >                <title></title>
> > >                <meta http-equiv="Content-Type" content="text/html;
> > > charset=iso-8859-1" />
> > >                <script type="text/javascript" src="/flash/mainbanner/
> > > swfobject.js"></script>
> > >                <script type="text/javascript">
> > >                                var flashvars = {};
> > >                        var params = {};
> > >                        params.play = "true";
> > >                        params.loop = "true";
> > >                        params.quality = "high";
> > >                        params.scale = "noscale";
> > >                        var attributes = {};
> >
> > >  swfobject.embedSWF("/flash/mainbanner/main_banner.swf",
> > > "FlashBannerScreen", "750", "250", "9.0.0", false, flashvars, params,
> > > attributes);
> > >                        </script>
> > >        </script>
> > >        </head>
> > >        <body>
> > >                <div id="flashmainbannerdiv">
> > >                        <a href="http://www.adobe.com/go/getflashplayer
> ">
> > >                                <img src="
> > >http://www.adobe.com/images/shared/download_buttons/
> > > get_flash_player.gif" alt="Get Adobe Flash player" />
> > >                        </a>
> > >                </div>
> > >        </body>
> > > </html>- Hide quoted text -
> >
> > - Show quoted text -
>  >
>

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