TeamPhotoshop
Reviews, updates and in depth guides to your favourite mobile games - AppGamer.com
Forum Home Latest Posts Search Help Subscribe

safari and iframes.

Page: 1 Reply
Feb 13th 2004#141985 Report
Member since: Oct 16th 2003
Posts: 717
my boss called me yesterday and told me that one of the sites i was working on was out of whack on mac os 10 with safari. the site containes an iframe set to h:100% and doesn't show up in safari at all. but when i set it to a fixed h: px value it works fine. i haven't seen this yet, but is anyone aware of this problem? know of a fix?
Reply with Quote Reply
Feb 13th 2004#141987 Report
Member since: May 1st 2002
Posts: 3034
thats because height can't have a 100% value its incorreect as far as I know :/
most of the time if you want an indefinately going iframe, your screwed, in that cause
you would just leave the height tag out, and just set scrolling: no;
and the iframe will grow with content.
Reply with Quote Reply
Feb 13th 2004#141988 Report
Member since: Oct 16th 2003
Posts: 717
well, it works in everything else, all browsers and platforms, except shifari. and if you take out the iframe scroll then that almost takes out the entire purpose of one. and by the way, iframes don't grow or expand with the content when not set to a height.
Reply with Quote Reply
Feb 13th 2004#142009 Report
Member since: Mar 18th 2001
Posts: 6632
What is the point of an iframe set to 100% height anyway?

100% height in iFrames is supported I believe, from what I can understand from the specifications. Most likely it's an error in your code somewhere, or you are using the wrong doctype. 9.9 times out of 10 the problem is with the code, not the browser... (Unless the browser is IE, then it's almost always the browser's fault)
Reply with Quote Reply
Feb 13th 2004#142012 Report
Member since: Oct 16th 2003
Posts: 717
[QUOTE=deker]What is the point of an iframe set to 100% height anyway?[/QUOTE]

what's the point? it stretches with the browser window size so there's no scroll on the page holding the iframe for people with low res. do you really not see an advantage to that?

i don't know how to set doctypes. can anyone explain?
Reply with Quote Reply
Feb 13th 2004#142033 Report
Member since: Mar 18th 2001
Posts: 6632
Then why use an iFrame at all? If you just make a regular html page it won't scroll either.

http://www.google.com/search?q=doctypes&ie=UTF-8&oe=UTF-8
Reply with Quote Reply
Page: 1 Back to top
Please login or register above to post in this forum