WeLoveCSS Logo
Home Profile Members Search Rules Help New Posts



WeLoveCSS > WEB DESIGN > CSS > [SOLVED] SWFObject move my Div?

Reply
  Thread Tools Display Modes
Old 8th September 10, 11:47 AM   #1
danpe
WLC Member
 
Join Date: Sep 2010
Posts: 2
Default SWFObject move my Div?

Hey,

I have my website css exported from Adobe Fireworks CS5

here is the CSS id:

view plaincopy to clipboardprint?
Code:
#etPlayerDiv {  
    margin-left: 160px;  
    margin-top: 1px;  
    display: inline;  
    float: left;  
    margin-bottom: 0;  
    border: 1px solid #ccc;  
    width: 640px;  
    padding-top: 0px;  
    height: 385px;  
    text-align:center;  
}
the div is in the perfect place.

Now when im using SWFObject to put an swf inside the DIV, all the website goes wrong.

The div go to the left and everything goes one line below..

I Tried this:

view plaincopy to clipboardprint?
Code:
#etPlayerDiv object, #etPlayerDiv embed  
{  
    position:relative;  
    width:100%;  
    height:100%;  
}
But nothing...

Any ideas?
danpe is offline   Reply With Quote
Old 8th September 10, 12:25 PM   #2
rkrause
WLC Mod
 
Join Date: Sep 2009
Posts: 883
Default Re: SWFObject move my Div?

show us the entire code please.

You need to contain the swf element in its own container.

Ryan.
rkrause is offline   Reply With Quote
Old 8th September 10, 01:03 PM   #3
danpe
WLC Member
 
Join Date: Sep 2010
Posts: 2
Default Re: SWFObject move my Div?

Quote:
Originally Posted by rkrause View Post
show us the entire code please.

You need to contain the swf element in its own container.

Ryan.
Thx it fixed my issue, i placed the swf element in a new container
danpe is offline   Reply With Quote
Reply


Thread Tools
Display Modes
Linear Mode Linear Mode

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:31 PM.



Home | Advertise | Contact Us | Top
Home | Advertise | Contact Us | Top

Copyright© 2006 WeLoveCSS.com. All Rights Reserved.
Powered by vBulletin Version 3.8.4 Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.