473,239 Members | 1,464 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,239 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 2215
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Ian F | last post by:
I have some javascript which allows a header, iframe and picture to be changed when the user clicks a next/previous button. In Opera, if you click next enough times to loop back to the start, or...
1
by: Jeronimo Bertran | last post by:
I am creating a table and inserting an iframe inside a cell for which the width depends on the screen size. The table has 7 columns and the fourth column is resized depeding on the screen...
4
by: Robson Carvalho Machado | last post by:
Dear friends, I have an IFRAME that I want to change src url when clicking a button. How can I change IFRAME src using button_click ? <iframe runat="server" frameBorder=0 marginHeight=0...
1
by: rbinington | last post by:
Hi, I am trying to write a DNN module that has the ability to insert articles into an article repository. I want the users to be able to move pages around and enter text into the FCKEditor. I...
4
by: libsfan01 | last post by:
hey this code wont work for my iframe in safari, i cant change the page by changing the src with js: <script language="javascript"> function loadcontent(page) {...
3
by: bulldog8 | last post by:
I am having problems with changing a frames source file for Mozilla (1.5.0.4). The followig code works for IE: <script type="text/javascript"> var imgP = new Image(); function...
1
by: pankaj17 | last post by:
hello, I want to find out the height and width of right frame in iframe that is included in left frame. main.html <html> <frameset cols="15%, *" id="fs1"> <frame src="left.html" name="left"...
1
dmjpro
by: dmjpro | last post by:
Here is my HTML code <table width="100%" border="0" cellspacing="0" cellpadding="2"> <tr> <td class="header_inactivated"...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 3 Jan 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). For other local times, please check World Time Buddy In...
0
by: jianzs | last post by:
Introduction Cloud-native applications are conventionally identified as those designed and nurtured on cloud infrastructure. Such applications, rooted in cloud technologies, skillfully benefit from...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
0
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...

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.