;

PDA

Click to See Complete Forum and Search --> : size to fit problem in firefox


chrisROC
06-17-2008, 09:51 AM
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!

rdoyle720
06-17-2008, 11:15 AM
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.


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

chrisROC
06-17-2008, 12:53 PM
Thank you! I appreciate it!