PDA

View Full Version : iframes height problem



pinky12
01-05-2006, 03:37 AM
hey everyone. I have searched everywhere for an answer for this but cannot seem to find it.

I am creating a site with one iframe and then other graphics etc positioned around it. My problem is I was wondering instead of having to define the height of the iframe if there was a way to have it automatically define itself based on the content within the frame. Or if that is not possible, does anyone know how I would be able to have basically the same thing but have my page not scroll vertically and just have it continue down until it is done?

I hope this makes sense, it looks like I have seen it on other sites before, maybe not using iframes but somehow they are able to have the main text or whatever just fill up the page.

Thank you so much in advance & I really hope this makes sense! I do not have the site up yet so I have no examples. Thanks again!

prince_of_oreon
01-05-2006, 08:41 PM
Have you tried using

height: auto; width: auto
as attributes for your iFrame's class in your css?