471,603 Members | 1,480 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,603 software developers and data experts.

changing the width / height of iframe's

http://www.frostjedi.com/terra/scripts/demo/iframe.html

The div "main1" is 250px tall and takes up as much width as necessary
to fill up the rest of the screen.

I would like the iframe "main2" to do the same thing. Any ideas as to
why I am unable to do so?

Nov 14 '07 #1
1 2149
On Nov 13, 10:58 pm, yawnmoth <terra1...@yahoo.comwrote:
http://www.frostjedi.com/terra/scripts/demo/iframe.html

The div "main1" is 250px tall and takes up as much width as necessary
to fill up the rest of the screen.

I would like the iframe "main2" to do the same thing. Any ideas as to
why I am unable to do so?
Setting the width as an attribute to 100% doesn't work because it'll
"spill over":

http://www.frostjedi.com/terra/scrip...o/iframe2.html

div blocks do this, too, however, div blocks take up the rest of the
width by themselves whereas iframe's do not seem to...

Any ideas as to what I can do to make "main2" take up all the width
after "menu" while, at the same time, still being on the right side of
"menu" (as opposed to underneath it)?
Nov 15 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Ian F | last post: by
1 post views Thread by Jeronimo Bertran | last post: by
4 posts views Thread by Robson Carvalho Machado | last post: by
3 posts views Thread by bulldog8 | last post: by
reply views Thread by MichaelMortimer | last post: by
reply views Thread by CCCYYYY | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.