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

Opera iframe 100% problem..

Page: 1 Reply
Oct 19th 2003#125309 Report
Member since: May 24th 2003
Posts: 212
Hey..

i have a page which has a resizing central "content area".

100% height works fine for the (TR)'s in the table... but not for the iframe within that.

all i get is a defult 100pixel iframe.

works fine in IE. Opera doesnt support 100% in iframes.

Is there a way of setting the height in CSS of the iframe (name : main)..?

thanks.
Reply with Quote Reply
Oct 19th 2003#125315 Report
Member since: May 1st 2002
Posts: 3034
you can set the height, just you can't use a percentage , if you want it to adjust height, then just remove the height tag all together and it should be auto.
Reply with Quote Reply
Oct 19th 2003#125317 Report
Member since: May 24th 2003
Posts: 212
woah u brainy person you.

i knew you could do it but without a 100% that's what i need though, 100%! lol

you're wrong btw, if you leave height out, it defaults to 100pixels in all browsers.

i used CSS to get round the prob.

< SCRIPT >
#d1 {
height=100%;
}


then add id="d1" to the;

< TR id="d1" >
< TD id="d1" >
< iframe id="d1".... >
< /TD >< /TR >



it was driving me crazy though, but that fixes it.
have a look at my website Re-Fresh (currently being updated)
on that i had about 3 pictures down the sides, and OPERA wouldn't display;

1) height=100%
2) rowspan=#

so my iframe sat at the v.top and small height

i fixed the first ^
and then the second i took out the extra pics so its one long line (side)


hope you get that ( ne one who needs it )

Chris.
Reply with Quote Reply
Oct 19th 2003#125356 Report
Member since: Nov 26th 2001
Posts: 2586
and don't forget, that if you ever are looking for a solution:

http://www.w3schools.com/html/html_reference.asp

This example of html reference is great at W3 schools. They have lots of others - css, xhtml, etc.
Reply with Quote Reply
Oct 27th 2003#126558 Report
Member since: Feb 7th 2002
Posts: 1564
Good job fixing that chriso20....I thoght I would post a problem of my own here, but after second thought I'll do me own thread...
Reply with Quote Reply
Oct 27th 2003#126590 Report
Member since: May 24th 2003
Posts: 212
just to finish off the thread;

WHY did Opera get rid of the 100% height in iframes and colspan!??!?

i've heard they worked in opera 6 (latest is 7) why did they scrap the idea?! argggggh lol

neways, fixed now
Reply with Quote Reply
Page: 1 Back to top
Please login or register above to post in this forum