CSS + Flash
- Started
- Last post
- 7 Responses
- its_only_me
Trying to float a swf file using CSS...but its stretching the swf and black bars appear above and below it.
Anyone know what causes this?
I thought it would just be the same as floating images.
- JamesBoynton0
link?
- 7340
put it in a div and float the div... also i think you need to add height and width to float something but i my be wrong... might not hurt though
- dress-up0
how are you writing the tag? you should just write the tag with this http://blog.deconcept.com/swfobj…
- its_only_me0
#blahblah {
postition:absolute;
top: 0px;
right: 0px;
}
- Stugoo0
if your floating it left why are you using absolute positioning?
put the movie in a div then style with the following.
#madflashthing {
float:left;
margin:0;
padding:0;
display:inline;
width: <width of move>;
height:<height of movie>
}
- Stugoo0
(put a semi-colon after the height)
- its_only_me0
Ah ok, I'll have a bash at that.
Cheers