danpe
8th September 10, 11:47 AM
Hey,
I have my website css exported from Adobe Fireworks CS5
here is the CSS id:
view plaincopy to clipboardprint?
#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?
#etPlayerDiv object, #etPlayerDiv embed
{
position:relative;
width:100%;
height:100%;
}
But nothing...
Any ideas?
I have my website css exported from Adobe Fireworks CS5
here is the CSS id:
view plaincopy to clipboardprint?
#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?
#etPlayerDiv object, #etPlayerDiv embed
{
position:relative;
width:100%;
height:100%;
}
But nothing...
Any ideas?