Web Hosting Talk







View Full Version : iframe help


matt2kjones
09-09-2002, 05:20 PM
ok i got a really bad problem

i have a website which uses iframes, and well a forum loads within an iframe, which works fine.

But i have a problem, i dont want the iframe to be a particular size, i want it to grow with the document.

Is there a way to do this. As otherwise i have to make the frame fit on an 800 x 600 screen size, then if you view the site in anything higher, it looks tiny :(

Acronym BOY
09-09-2002, 05:23 PM
Frames suck and are no longer compliant with the latest recomendation issued by the W3C. CSS and XHTML will od this for you.

Posted by me a few weeks ago
And frames are sort of dead in favor of CSS:

http://www.useit.com/alertbox/styles_vs_frames.html
http://www.useit.com/alertbox/9612.html
http://www.voltapublishing.com/netg...eatures/frames/
http://www.webmasterworld.com/forum10/527.htm
http://web.mit.edu/cwis/frames/

Google around for more, including:

Some nice CSS places are:

http://www.people.hbs.edu/rswartz/FRAMES/frames.html



ALA is a great website work learning more, here are some other links to look through:

http://www.alistapart.com/stories/practicalcss/
http://www.alistapart.com/stories/betterliving/

If you insist on using frames, use a percentage.

conceptual
09-09-2002, 07:09 PM
javascript somehow

AntiSpamHosts
09-10-2002, 01:03 AM
Why can't you just have it open in a new window?

tensixteen64
09-11-2002, 09:18 PM
Why not just specify "auto" in the .css. You are using .css right?