PDA

View Full Version : Iframes auto-resizeable



casperxs
July 10th, 2003, 07:13 PM
hi
i have a little quiestion about the iframes, how can it be auto adjusted to the screen user propieryties, im optimitized the site to 1024 x 768, but if my visits have a low resoltion, how can i do this iframe auto adjust, by javascript or somethig

Please helpme!!!!

Note: sorry for my bad english, im still study

DDD
July 11th, 2003, 01:09 AM
I dont think that is possible...but I could be wrong is there any particular reason you are using Iframes. could you use a div or something.....wait actually I think you can use percentages with Iframes. try using percentages instead of absolute pixels. That may work. That way your page will always be like 80% of the screen no matter the resolution. Not sure if it will work tho

Jase2k
July 11th, 2003, 10:07 AM
You could always try setting the height and width to 100%.

Jase

casperxs
July 13th, 2003, 03:53 PM
well, i have been trying taht ways, but it doesnt work, at this moment, iŽll try to do this with a java script, but i didnŽt know java, there is anybody how will give me a hand?

Thank all of your comments