Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

quick iframe question

Status
Not open for further replies.

secretsquirrel

Programmer
Mar 22, 2001
202
0
0
GB
ok, this is a quick one...

is there any way i can make an <iframe> resizable?

thanks in advance,

ss
 
The short answer : NO

The long answer : You can make an iframe resizable but it would have to be in a div / layer. Regards

Big Dave


** If I am wrong I am sorry, but i'm only trying to help!! **

 
Yes you can resize a frame without having to use a layer tag. simply change the height and width properties

document.all.iframe.height = value;
document.all.iframe.width = value;
 
You can set the iFrames to a paticular size to begin with, and if the content is off the prescribed size, it puts in scrollbars...only workls with IE and NS6 I have not failed; I merely found 100,000 different ways of not succeding...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top