Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

IE Only - Design Does Not Touch Bottom of Browser

Status
Not open for further replies.

HisMightiness

Programmer
Mar 17, 2004
54
US
I have a pretty basic design and issue. It is a table layout (I know - please focus). Ordinarily, having the design touch the top and bottom of the page is simple...

Set the HTML and BODY margin to 0, and the height to 100% for the table on the page. This is usually all I need to do to get this concept to work (the bottom of the design touching the bottom of the browser window). However, this time something is wrong.

I have a current design using the same method I always do, but in IE7, the bottom of the design has a gap of about 2px between it and the bottom of the browser window.

Since I am using ASP.Net, I have looked at the rendered HTML and verified that there is nothing between the design objects and the closing BODY and HTML tags. The only exception is 3 ASP.Net specific HIDDEN INPUT tags.

I can give out the site on request to e-mail, but I cannot post it in a public forum. Does anyone notice any immediate problems from my description?

Will
 
No, there's nothing that would easily explain those 2px. Do you usually use complete and valid doctype on your pages? Did .NET insert a doctype for you this time? That's the only thing I could come up with.

Try installing Firebug in FF (if the problem exists in FF too) or developer toolbar for IE (not as good as Firebug, but can help you) to try and find which element is causing the gap.

___________________________________________________________
[small]Do something about world cancer today: Comprehensive cancer control information at PACT[/small]
 
Where are the 3 hidden inputs?

Instead of doing the secretive "only by email if you knock 5 times" rubbish (which helps no-one here debug your problem, and no-one here who may be looking for a solution to the same problem), why not post a cut-down test harness?

Dan



Coedit Limited - Delivering standards compliant, accessible web solutions

[tt]Dan's Page [blue]@[/blue] Code Couch
[/tt]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top