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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

using inherits causes space at top of page

Status
Not open for further replies.

jimberger

Programmer
Jul 5, 2001
222
0
0
GB
Hi,

I have a web aspx page

<%@ Page Language="c#" CodeBehind="index.aspx.cs" AutoEventWireup="false" Inherits="fff.index" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"<html>
<head>

like this but the page displays with a annoying space at the top of the page which spolis the design - if i take out the inhierts the page displays fine but obiviously none of the functionality is there. has anyone experienced this before?

thanks for your help
jimmy
 
This probably means you can trace your error to something happening in your codebehind.

Try commenting all your functionality out but leaving in the inherits clause.

If the line disappears then its your code that's causing the problem and it's time to get heavy on the F11 :)


Yet another unchecked rambling brought to you by:
Oddball
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top