-
I made a very simple HTML doc with just an OBJECT and EMBED tag. How can I constrain my HTML window so that there is not extra space around the browser window?
-
by this i assume your file is not opening in a new window...
ok two ways to do this, the first would be to strech your flash movie to fit the window (will cause funny results if the movie gets squished, so no)
the second way is better but does not work in netscape to do this you need to remove the margins from the page using either
topmargin="0" leftmargin="0" in your body tag or a in style using: style="margin:0px 0px 0px 0px".
either on will work, then you need to get rid of the scroll bar completely (ie leaves a gap on the right even if there isnt one) using:
scroll=no in your body tag.
and then you need to resize the window to fit your file, just not that the window will still have menus/statusbar/addressbar etc.
onload="javascript:window.resizeTo(400,300)
in the body tag, substituting the 400,300 with your width and height.
-
window resize
Everything works except for this part:
onload="javascript:window.resizeTo(600,250)"
Any solutions?
Thanks Threnody,
Lea
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|