473,320 Members | 1,823 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,320 software developers and data experts.

Free Space coming while calling Iframe

3
I have a index.html page which internally contains
<iframe name="IWS" frameborder="7" id="IWS" src="default.html" background-color: lime></iframe>
<iframe name="dummy" frameborder="0" src="" style="display:none;"></iframe>

when i am calling this iframes it is coming with extra space
but if i am moving it out space is not there
without i frame many menus are not working
can u suggest to remove this freespace
May 5 '10 #1
3 2052
Markus
6,050 Expert 4TB
Your problem isn't all that clear, but, nevertheless, try removing the margin/padding of the iframe.

Expand|Select|Wrap|Line Numbers
  1. <iframe style="margin: 0px; padding: 0px;" [etc] />
May 5 '10 #2
AKMK
3
Let me put my question more detailed:

There are two htmls (index.html and default.html) used to display a homepage of an application.

The index.html contains iframes (named: xyz). This iframe will be loaded with default.html by default. Whenever other pages in the homepage are clicked, the xyz frame is loaded by that particular page.

The problem is, we always see more unused space left in the bottom of homepage. This space is vanished when we remove the iframe, but doesn't load other contents in xyz iframe.

Attached the screenshot showing space in the homepage (lengthy scroll)

Please suggest if there is anyway we can incorporate iframe in html without space issue.
Attached Images
File Type: jpg scroll issue.jpg (7.0 KB, 150 views)
May 5 '10 #3
Frinavale
9,735 Expert Mod 8TB
I strongly recommend against using IFrames.

Anyways, you can set the height and width of the IFrame using CSS to the size that you want the frame to be.

Or you could use JavaScript to set the height and width of the iframe according the the window size.

-Frinny
May 12 '10 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

6
by: Thomas Schulz | last post by:
Any ideas how to check for free disc space from Python. Platform independent? Thanks for any suggestion. Thomas
16
by: Uncle Pirate | last post by:
This has me stumped. I am trying to use as little space as possible at the top of my document but Firefox/Mozilla insists on placing vertical space before any element. IE displays it correctly...
6
by: Wendi | last post by:
If i have an iframe from within an HMTL document: Iframe.htm: ------------------------------ <html> <head> <title>Iframe.htm</title> </head> <body> <iframe src="sample.htm"></iframe>
27
by: Aurangzeb M. Agha | last post by:
I'm running Postgres 7.1.3, and just started having a problem where my dynamic site is going down (read-only DB, with no writes happening to the DB) regularly (every other day). I have no idea...
7
by: jitu78 | last post by:
Hi All, I am working on site where I am using iframes for dynamic html files. Each html file having own length and my iframe height is fixed. How can I set auto height for each page coming in...
1
by: Miguel Pires | last post by:
Hi, Any one knows a way to get Hard Drive letters and free space (C: / D: ....) from a remote computer? I'm developing one application that needs to know if a second drive exist on that system...
5
rsrinivasan
by: rsrinivasan | last post by:
Hi all, How to view current java JVM? If anyone know reply me immediately. Thanks,
4
by: selvialagar | last post by:
I am doing a project in embedded system (in vc++.net 2003)...I need to allocate a pool of free space for the incoming packets.Once i received the packet in the pool, an intimation must be given to me...
1
by: chaitanya02 | last post by:
Hi, I have a search function code that displays all links with in my website when searched through that function. Not I want todesign an iframe so it displays the results on my website rather than...
1
by: Greg99 | last post by:
Hello. I need to find the available space for a given path (could be a network path) with a quota applied, but when I use the following code, it gives me the available space on the entire drive. ...
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
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...
1
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...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.