Is it possible to resize iframes so they fit to the size of your browser page without javascript? And yes, I have a good reason for using iframes. Thanks in advance for the help.
I know how to do it with javascript, but it's clunky and won't work for users with noscript enabled in their browser. Is there any more elegant solution?
What exactly are you putting in the iframe example:- Video, webpage,image An i frame is a javascript code other than that try using it as an insert image html code..
The frames will still overlap depending on the size of the browser window. I can't believe there isn't a good way to format frames to fit smoothly together like you can with any other html page.
<iframe frameborder="0" align="left" height="100" width="200" scrolling="yes" src="subpage.html"></iframe> resizing for frames can be control by width
I want the frames to be of variable width depending on the size of the browser window. Is there a variable I could change width and height to to achieve this?
you will jsut have to keep changing the sizes to you find one that fits, i didnt use JS on my site jsut did the hole think using html
Problem is if you have users with browsers at different sizes the iframes will overlap if you set it at a fixed height/width. Guess I will just have to use javascript.
Im confused, cant you just use percentage widths and heights so they automatically adjust whatever the window size?
Yeah that's pretty much exactly what I'm talking about, could you post/pm the code you used to accomplish this by any chance? Setting it to percentages will adjust the window size and make the iframe scrollable, which is a hassle for users.
The issue is I have two iframes loading from a site I do not control. Right the iframes can overlap one another if depending on the size of the users browser window. I want a way to have the frames load one after the other without any extra white space or overlap. It looks like the javascript method won't even work because the pages I want to put in the frame are hosted off site.