×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Dreamweaver & Flash

How to get rid of margins by raymondbirch
Posted: 20 Aug 01

Problem:
When a Flash movie and HTML page are created with the HTML Dimensions set to 100%, the Flash movie is still surrounded by space inside the browser window. How can the default margin settings be changed so that the content is flush with the inside edge of the browser window?

Solution:
After publishing the Flash movie and the HTML page, edit the HTML page by opening it in SimpleText, Notepad or a similar text editor.

Insert the following code into the document <body> tag:


<body topmargin="0" leftmargin="0" marginwidth="0" marginheight="0">

Save the document, replacing the old HTML page.

Setting the margins to a specific pixel measurement controls the placement of the page in a browser. This technique works in the main browser window and in pages placed in a frameset.

Note:
Not all "margin" tags work with older versions of Netscape :(

Back to Adobe FAQ Index
Back to Adobe Forum

My Archive

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close