Creative COW SIGN IN :: SPONSORS :: ABOUT US :: CONTACT US
WEB: Web Design Forum- TutorialsDreamweaver Forum- TutorialsFlash Forum- TutorialsWeb StreamingTraining

DIV alignment changes when SWFObject is loaded

Cow Forums : Adobe Dreamweaver
DIV alignment changes when SWFObject is loaded
by Clint Milner on Aug 21, 2008 at 12:21:06 pm

I'm trying to make my site more user-friendly by having SWFObject load my flash content if the user has flash. If not, other "filler" content will be shown.

I have some good layout with my filler content. Basically I have an outer "maincontent" div which contains a paragraph of text, then this new "video" div is in and it's floated to the right, followed by another paragraph of text that is wrapping to the left side of the div.

Inside this "video" div, I have an image that has the same dimentions of the video that will replace it. The div has a set height and width; both dimentions bigger than that of the image/video.

I preview my page in IE, and before I "Allow ActiveX" I see the page layout is just fine. Once I allow the ActiveX, the div seems to lose its right float because it appears as:

Paragraph1
flashVideo (left aligned)
Paragraph2

Can someone give some advice?

Many Thanks,
Clint

Respond to this post   •   Return to posts index

<< PREVIOUS THREAD   •   VIEW ALL THREADS   •   PRINT   •   NEXT THREAD >>


FORUMSTUTORIALSMAGAZINEDVDsBOOKSPODCASTSEVENTSSERVICESNEWSLETTERNEWSBLOGS

© CreativeCOW.net All rights are reserved.

[Top]