A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: size to fit problem in firefox

  1. #1
    Junior Member
    Join Date
    Oct 2007
    Location
    East Coast
    Posts
    22

    size to fit problem in firefox

    does anyone know of a fix for a flash site appearing very small in Firefox?

    param is set at 100% instead of pix X pix.

    Shows up fine in safari, ie.


    any ideas are appreciated.

    Thanks!

  2. #2
    Senior Member
    Join Date
    Apr 2002
    Posts
    2,849
    A search of the forums or Google probably would have given you the answer, but...

    Firefox interprets code more strictly than say, Internet Explorer. So when you say 100%, Firefox says "100% of what?". To fix it, you can 1) remove the top line of your HTML file (where it says DOCTYPE). That will put Firefox into "quirks" mode where it won't be as strict with the code. Or 2) add some CSS to your page, which will let Firefox know you mean 100% of the page.

    Code:
      <style type="text/css">
          HTML, BODY {margin: 0; padding: 0; width: 100%; height: 100%}
      </style>

  3. #3
    Junior Member
    Join Date
    Oct 2007
    Location
    East Coast
    Posts
    22
    Thank you! I appreciate it!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center