You are here: Home > Programming > Flash programming > Flash and HTML > Flash in HTML without borders

Flash in HTML without borders

Print versionEdit this page
Full screen Flash without borders:

<head>
    <style>
        body {
            margin: 0;
            padding: 0;
        }
    </style>
</head>
<body>
    <!-- Flash here -->
</body>

Also, if you put your Flash movie as a percentage, width=100% and height=100% will force the browser to put scrollbars at the right and bottom, or to reserve scroll bars and you will get white bars.

Strange as it may seem, to get the Flash movie full screen, occupying the full browser width, set the width of the Flash movie to 99%!


-- ArthurClemens - 09 Nov 2003