View Full Version : 100% not working in FireFox?
G-Rard B
12-12-2004, 04:38 PM
Hello, everyone. I have made a flash site. I want to make it so that it fits the whole screen without scaling. I read a post on that here in this forum, and I did what it said to, but it didn't work. I've also viewed the source of some pages that do it, but it didn't work. Well, actually I take that back. In IE and Opera it worked. Not in FireFox. In FireFox, the width of the movie is 100%, but it seems like the height is about 150px. Anyone else have this problem? I would really appreciate an answer.
Thanks,
Gerard
splict
12-12-2004, 04:47 PM
what have you already tried?
G-Rard B
12-12-2004, 04:52 PM
This is what I have done:
Publish Settings (HTML):
Dimensions: 100 percent 100 percent.
Scale: No scale
In first frame:
Stage.scaleMode = "noScale";
In HTML file:
Made object and embed width/height attributes 100%
Thanksfor the quick reply,
Gerard
splict
12-12-2004, 05:00 PM
well, there are a number of posts already on this, but...
Make sure all the elements surrounding your object are 100% as well. This inludes the html and body elements. Set their height to 100% with css. also, make sure you are using a proper doctype: http://www.alistapart.com/articles/doctype/ Let us know how it goes and post a link if you can, if you can't get this stuff to work.
G-Rard B
12-12-2004, 05:14 PM
It worked! I put the html and body width and height as 100% and it worked! Thank you very much!
|
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.