473,808 Members | 2,838 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Free Space coming while calling Iframe

3 New Member
I have a index.html page which internally contains
<iframe name="IWS" frameborder="7" id="IWS" src="default.ht ml" 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 2097
Markus
6,050 Recognized Expert Expert
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 New Member
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, 152 views)
May 5 '10 #3
Frinavale
9,735 Recognized Expert Moderator Expert
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
4993
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
9269
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 (as I want). At one point, I set some negative top margins which moved the graphics above the page in IE. Here's the link: http://abateofnm.org/ I've tried reformatting the HTML to assure there is no white space and I've tried setting top...
6
14413
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
20068
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 whay this is happening, and my search of the FAQ's and mail list don't bring up anything. i've attached the error from the log file, at the end of this message. Here's an output of the disk usage from within the DB dir $ du -k . 1716 ...
7
27747
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 iframe? - Jits
1
3997
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 and i need to know the free space from the root drive and from the second drive in case of exist. This application will run from a DC that has admin rights on remote computers. I’m using VB.net not C# if some one cold point me to one example or...
5
1895
rsrinivasan
by: rsrinivasan | last post by:
Hi all, How to view current java JVM? If anyone know reply me immediately. Thanks,
4
2099
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 that the requested packet has come.How to do this? Meanwhile, an packet comes for another process which runs in the backend,an intimation must be given for that process.I know, it is possible by multithreading. I need some ideas, how to implement...
1
1381
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 going to an empty page with google header....I want the search results go to a iframe with header andfooter of our site. please any one suggest.
1
1724
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. For instance, I have a drive E: that has 500 GB of available space. But I have user folders on this drive and each user has a 2 GB quota. For instance, when I use this function giving the path "E:\Users\Greg", it should return that 2 GB is free, but...
0
9721
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9600
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
10374
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10113
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9195
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7651
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6880
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
2
3859
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3011
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.