Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 3 of 3
  1. #1
    Junior Member
    Join Date
    Jul 2011
    Posts
    3
    Member #
    28701
    Dear Everyone, I have an SWF in an HTML page that changes its width according to the browser size - I need the height to also adjust to varying screen sizes. I've tried height:100% and other specific instructions but nothing helps. I would greatly appreciate any ideas!
    Thank you! Chava Drummond

  2.  

  3. #2
    Junior Member Panzer Technology's Avatar
    Join Date
    Aug 2012
    Location
    Hyderabad
    Posts
    4
    Member #
    32467
    Check this code once
    Code:
    <!DOCTYPE html>
    <html lang="en">
    <head>
    
    <meta charset="utf-8">
    
    <title>untitled document</title>
    
    <style>
    html,body {
        height:100%;
        margin:0;
    }
    #swf-holder {
        height:100%;
    }
    #swf-holder object {
        display:block;
        width:100%;
        height:100%;
    }
    </style>
    
    </head>
    <body>
    
    <div id="swf-holder">
    <object type="application/x-shockwave-flash" data="some.swf">
    <param name="movie" value="some.swf">
    </object>
    </div>
    
    </body>
    </html>

  4. #3
    Junior Member
    Join Date
    Jul 2011
    Posts
    3
    Member #
    28701
    thanks so very much!!!


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 09:37 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com