We help IT Professionals succeed at work.

Check out our new AWS podcast with Certified Expert, Phil Phillips! Listen to "How to Execute a Seamless AWS Migration" on EE or on your favorite podcast platform. Listen Now

x

Extra white space showing up on IE but not on FireFox

aman0711
aman0711 asked
on
Medium Priority
721 Views
Last Modified: 2012-05-07
Hi Experts,

                I have an Iframe on a simple page.  I am seeing an usual big white space between the header and the Iframe in Internet Explorer.. Same link is working fine on Firefox.

               how do i make it work in IE as well.
PS: I have attached the 3 stylesheets used in this page and the snapshot of page.
html>
<head>
<style type="text/css">
        @import url("/analytics/static/styles/intranet.css");             /* main stylesheet */
        @import url("/analytics/static/styles/intranet-2col.css");        /* column stylesheet */
        @import url("/analytics/static/styles/intranet-2col-1024.css");   /* 1024px stylesheet */
    
</style>
 
<script language="JavaScript" src="/analytics/static/Fusion/FusionCharts/FusionCharts.js"></script>
<title>Test</title>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<meta name="GENERATOR" content="Rational Application Developer">
 
</head>
<body>
<div id="page-wrapper"><%@include file="Header.jsp"%>
<div id="column-wrapper"><!-- begin columns --> 
<%@include file="NEW_TOOLBAR.jsp"%>
<div id="content"><!-- begin content column -->
<div class="inner">
 
 
<iframe src="chart.html?chartType=${detailForm.chartType}&chartGroup=${detailForm.chartGroup}&chartSubgroup=${detailForm.chartSubgroup}&liabilityCode=IRU&timeline=${detailForm.timeline}&width=600&height=400" frameborder="0" scrolling="no" width="700" height="430" align="top"></iframe>
 
 
 
<p><small> </small></p>
</div>
<!-- end content column, then column wrapper --></div>
</div>
<%@include file="Footer.jsp"%></div>
 
 
</body>

Open in new window

intranet.txt
intranet-2col.txt
intranet-2col-1024.txt
space.PNG
Comment
Watch Question

Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION

Author

Commented:
Well I guess you folks left so I decided to close :)
Lets start troubleshooting on this now :)

@import statements are working fine on all other pages :(
try it.. what do you have to lose?

Author

Commented:
lo., true :)
Let me get back to your with result

Commented:
since your .jsp includes it is not really making sense to troubleshoot based on your
text files and code snippet. You should put your site on the net and provide
us with the URL.

Author

Commented:

@ lharrispv,

          tried your approach, didnt work etiher

Author

Commented:
hi xberry,

                its running on a local server, cant out on the internet :-(

              thr is no way to force this iframe to the top of the page?

Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION

Author

Commented:
Hey xberry,

                Sorry for getting back on this question little late :-)

                You nailed it :) Thanks a ton :)

Author

Commented:
Oops I am sorry :( it worked fine on IE 7, but still the same issue with IE6

Commented:
>> Oops I am sorry :( it worked fine on IE 7, but still the same issue with IE6

??? Is it now working or not?  The Doctype remedy should exactly handle IE6, too.

Since you mention it handled IE7 but not IE6 my guess would be that some of the numerous IE6 bugs
did crank in here - however the bug normally causing the problem that you mentioned, the 'box model bug'
is only relevant for IE6 in quirks mode and earlier browsers.  

I cannot from here tell what it is, since you have access to all the generated code, so try a couple of things
such as changing width for IE6 browsers only in some of the divs and see if things improve.

Author

Commented:
code and snapshot to be replaced in the question:


html>
<head>
<style type="text/css">
        @import url("/static/styles/intranet.css");             /* main stylesheet */
        @import url("/static/styles/intranet-2col.css");        /* column stylesheet */
        @import url("/static/styles/intranet-2col-1024.css");   /* 1024px stylesheet */
    
</style>
 
<script language="JavaScript" src="/static/Fusion/FusionCharts/FusionCharts.js"></script>
<title>Test</title>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<meta name="GENERATOR" content="Rational Application Developer">
 
</head>
<body>
<div id="page-wrapper"><%@include file="Header.jsp"%>
<div id="column-wrapper"><!-- begin columns --> 
<%@include file="NEW_TOOLBAR.jsp"%>
<div id="content"><!-- begin content column -->
<div class="inner">
 
 
<iframe src="index.html?Type=${Form.Type}&Group=${Form.Group}&Subgroup=${Form.Subgroup}&Code=XYZ&timeline=${Form.timeline}&width=600&height=400" frameborder="0" scrolling="no" width="700" height="430" align="top"></iframe>
 
 
 
<p><small> </small></p>
</div>
<!-- end content column, then column wrapper --></div>
</div>
<%@include file="Footer.jsp"%></div>
 
 
</body>

Open in new window

space.PNG

Author

Commented:
Postting the image again:


space.PNG

Commented:
So what is the state of affairs with that question ?
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.