PDA

View Full Version : how to fit an SWF file in a window?


docdigital
03-12-2001, 05:38 PM
Dear fellows,
i am trying to fit an swf file in a newly opened window
but always get a black margin on the top and left side of the file ,but i don't want that .
I would like to fit my swf movie in that window

Please advice Thanx upfront

Dr. Web
03-12-2001, 06:35 PM
add this to the body tag of the new window.....

<body leftmargin=0 rightmargin=0 topmargin=0 bottommargin=0 marginheight=0 marginwidth=0>

that should get rid of the edges.

docdigital
03-13-2001, 08:21 AM
Thanx alot.
It worked really well!
And it was so obvious that i could kill myself
Dank u wel (nederlands for thanks)
Greetings from antwerp belgium and you will soon see
the results from this question at http://go.to/docdigital

Dr. Web
03-13-2001, 01:14 PM
Even the most seasoned developers fall prey to the simple solutions from time to time!