flash centered and transparent!
- Started
- Last post
- 8 Responses
- wwfc
Howdoo! can anyone tell me why this isn't working - I have an swf file that is called into the html doc using this:
'width','800',
'height','600',
'align','middle',
'src','dmo.swf',
'quality','high',
'name','dmo',
'allowscriptaccess','sameDomain...
'pluginspage','http://www.macrom...
'movie','dmo' ),
'mode','transparent';but for some reason the transparent isn't transparent - I also tried wmode - but nowt doing! Is there something I'm missing - is it mode / wmode / summat else??
Also what should the align settings be to drop in the middle both horizontally and vertically? Anyone know?
Be grateful to anyone willing to put me out of my misery!
- WeLoveNoise0
theres 2 places u have to set the wmode in the HTML
- ian0
align middle doesn't work, its a bit of a misnomer. You have to put the flash into a div then align the div to middle vert & horizontal.
- WeLoveNoise0
css it
body {
margin:auto auto;
}
- ian0
Its something like this:
/* center <div> for IE*/
div{width:500px;margin:auto;}/* position div for browsers that have a clue*/
div,[nul]{left:50%;margin:0;marg...I did it a while ago for my companies site, take a gander at the code on the homepage it you want. http://www.boyledesigngroup.com/…
- wwfc0
...great help both ;-)
Thanks for the prompt response - appreciate it
- WeLoveNoise0
by the way align doesnt always work
sometimes text alight does the trick
- fugged0
you could always go the 100% width/height, align middle/center and noscale route...
- flyingnowhere0
its wmode!