[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Unwanted blank space at the top of some pages

Posted on 2004-11-20
7
Medium Priority
?
510 Views
Last Modified: 2012-08-13
The pages in question are everything but the index page on:

http://www.kittytours.org/mutualfunds/

Clicking on any link will take you to an ASP-generated page that shows off a big ugly white gap at the top.

The only page that isn't misbehaving is the index.html page.

Since the three ugly pages were all cloned from the same source, I assume I copied the same mistake over and over and over.

I've checked all my tags and I've matched up all my TDs and /TDs and TRs and /TRs and I can't find the problem.

Help before I go blind...or crazy...or both.

Many many thanks in advance.

Kitty
0
Comment
Question by:prettykittyq
  • 3
  • 2
  • 2
7 Comments
 
LVL 54

Expert Comment

by:Ryan Chong
ID: 12636988
try set the page margin ?

Top set it "No blank space", try

change body tag to:

<BODY BGCOLOR="#ffffff" topmargin="0">

if you also want to take out the "blank space" on the left, try:

<BODY BGCOLOR="#ffffff" leftmargin="0" topmargin="0">

Hope this helps
0
 
LVL 54

Expert Comment

by:Ryan Chong
ID: 12637010
hmm, now i realised the weird place... :?
0
 
LVL 1

Author Comment

by:prettykittyq
ID: 12637072
Dangles, it didn't work.  Any other ideas?

The misbehaving pages are ASP.

Browsing (if you can call reading literally hundreds of PAQs for four hours anything as benign as "browsing") through similar reported complaints, I saw that some people's ugly white spaces were due to misplaced or not-closed tags.

Does that help?

Thanks for the effort so far.

Kitty
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 54

Expert Comment

by:Ryan Chong
ID: 12637088
seems that your showprojects.asp table's got some problem, why dont you re-do the table template on showprojects.asp, as you can copy the table template from index.html ?

It works for me now.. like:


<!doctype HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title>Mutual Fund Coordinating Group</title>
<link rel="stylesheet" href="coordgroup.css" type="text/css">
</head>
<body>
<TABLE cellPadding=5 border=0>
  <TBODY>
    <TR>
      <TD class=left width="10%"><IMG
      src="SEClogo.gif"> </TD>
      <TD class=top align=right width="90%"><BR> <SPAN class=header>Office of
        the Chairman</SPAN><BR> <SPAN class=subheader>Mutual Fund Coordinating
        Group</SPAN> </TD>
    </TR>
    <TR>
      <TD class=left vAlign=top rowSpan=2><B>Select a<BR>
        Category:</B> <BR> <BR> <A
      title="Click here to search for projects in the Status category"
      href="http://www.kittytours.org/mutualfunds/showprojects.asp?category=Status&pickorder=ProjectName">Status</A><BR>
        <BR> <A
      title="Click here to search for projects in the Disclosure category"
      href="http://www.kittytours.org/mutualfunds/showprojects.asp?category=Disclosure&pickorder=ProjectName">Disclosure</A><BR>
        <BR> <A
      title="Click here to search for projects in the Pricing category"
      href="http://www.kittytours.org/mutualfunds/showprojects.asp?category=Pricing&pickorder=ProjectName">Pricing</A><BR>
        <BR> <A
      title="Click here to search for projects in the Governance category"
      href="http://www.kittytours.org/mutualfunds/showprojects.asp?category=Governance&pickorder=ProjectName">Governance</A><BR>
        <BR> <A
      title="Click here to search for projects in the Operations category"
      href="http://www.kittytours.org/mutualfunds/showprojects.asp?category=Operations&pickorder=ProjectName">Operations</A><BR>
        <BR> <A
      title="Click here to search for projects in the Sales Practices category"
      href="http://www.kittytours.org/mutualfunds/showprojects.asp?category=Sales_Practices&pickorder=ProjectName">Sales
        Practices</A><BR> <BR> <A
      title="Click here to search for projects in the Examinations category"
      href="http://www.kittytours.org/mutualfunds/showprojects.asp?category=Examinations&pickorder=ProjectName">Examinations</A><BR>
        <BR> <A
      title="Click here to search for projects in the Compliance category"
      href="http://www.kittytours.org/mutualfunds/showprojects.asp?category=Compliance&pickorder=ProjectName">Compliance</A><BR>
        <BR> <A
      title="Click here to search for projects in the General Overlap category"
      href="http://www.kittytours.org/mutualfunds/showprojects.asp?category=General_Overlap&pickorder=ProjectName">General
        Overlap</A><BR> <BR> <BR> <A title="Click here to display all known projects"
      href="http://www.kittytours.org/mutualfunds/showallprojects.asp?pickorder=ProjectName">All
        Projects</A><BR> <BR> <BR> <A
      href="http://www.kittytours.org/mutualfunds/index.html">Home</A> <BR></TD>
      <!--This is the end of the left cell that displays the links-->
      <!--The next cell holds the bulk of the text.-->
      <TD class=center vAlign=top><table valign="top">
          <tr>
            <td width="35%"><a href="showprojects.asp?Category=Status&pickorder=ProjectName"><b>ProjectName</b></a></td>
            <td width="10%"><a href="showprojects.asp?Category=Status&pickorder=Coordinator"><b>Coordinator</b></a></td>
            <td width="10%"><a href="showprojects.asp?Category=Status&pickorder=Contact"><b>Contact</b></a></td>
            <td width="15%"><a href="showprojects.asp?Category=Status&pickorder=Product"><b>Product</b></a></td>
            <td width="15%"><a href="showprojects.asp?Category=Status&pickorder=Stage"><b>Stage</b></a></td>
            <td width="15%"><a href="showprojects.asp?Category=Status&pickorder=DateModified"><b>Date
              Modified</b></a></td>
          </tr>
          <!--Now that the cell widths and headers are established, we need to fill in the data
-->
          <tr>
            <td> &nbsp;<a href='projectdetails.asp?projectname=Status project number 1'>Status
              project number 1</a><br> </td>
            <td>IM</td>
            <td>Merrilee, x3333</td>
            <td>Info Memo</td>
            <td>Public Comment</td>
            <td>20/11/2004 16:45:35</td>
          </tr>
          <tr>
            <td> &nbsp;<a href='projectdetails.asp?projectname=Status Project Number 2'>Status
              Project Number 2</a><br> </td>
            <td>IM</td>
            <td>Isabel Ringing, x4444</td>
            <td>Rule</td>
            <td>Idea</td>
            <td>20/11/2004 16:45:58</td>
          </tr>
          <tr>
            <td> &nbsp;<a href='projectdetails.asp?projectname=Status Project Number 3'>Status
              Project Number 3</a><br> </td>
            <td>MR</td>
            <td>Dewey Cheatham, x7777</td>
            <td>Report</td>
            <td>Circulating 6th Floor</td>
            <td>20/11/2004 16:46:13</td>
          </tr>
          <tr>
            <td> &nbsp;<a href='projectdetails.asp?projectname=Status Project Number 4'>Status
              Project Number 4</a><br> </td>
            <td>GC</td>
            <td>Lotta Nurv, x6666</td>
            <td>Info Memo</td>
            <td>Collaboration</td>
            <td>20/11/2004 16:46:59</td>
          </tr>
          <tr>
            <td> &nbsp;<a href='projectdetails.asp?projectname=Status Project Number 5'>Status
              Project Number 5</a><br> </td>
            <td>GC</td>
            <td>Bob Furapplez, x2222</td>
            <td>Rule</td>
            <td>Idea</td>
            <td>20/11/2004 16:53:22</td>
          </tr>
        </table></TD>
    </TR>
    <TR>
      <TD align="center" vAlign=top class=center><br>
        A Coordinating Group website maintained by Jean K. Rosales, Ph.D. and
        the staff of the Chairman's Office<br>
        Site consultants: Heather Hawley and Johnslin Daniel, contractors to SEC's
        Office of Information Technology<br> <br>
        Comments, corrections, and suggestions should be sent to<br> <a href="mailto:webmaster@kittytours.org" title="Click here to email KittyTours Webmaster with any comments, corrections or suggestions">webmaster@kittytours.org</a><br>
        <br> &copy; 2004 Securities & Exchange Commission, All Rights Reserved
      </TD>
    </TR>
  </TBODY>
</TABLE>
</body>
</html>

Try apply the above template to your showprojects.asp

regards
0
 
LVL 31

Accepted Solution

by:
seanpowell earned 2000 total points
ID: 12639093
Hi Kitty,

Your basic code looks like this, which has an unterminated table structure

<body>
<table width="100%">
      <tr>
            <td class="left" width="10%"><img src="SEClogo.gif"></td>
            <td class="top" width="90%" align="right"></td>
      </tr>
      <tr>
            <br><br>
            <td class="left" valign="top" rowspan="2"></td>
            <td class="center" valign="top">

</table>

<br>
</body>

You need this:

<body>
<table width="100%">
      <tr>
            <td class="left" width="10%"><img src="SEClogo.gif"></td>
            <td class="top" width="90%" align="right"></td>
      </tr>
      <tr>
            <!-- remove these -->
            <!-- <br><br> -->
            <td class="left" valign="top" rowspan="2"></td>
            <td class="center" valign="top">

            <!-- add these -->
            </td>
      </tr>
</table>

<!-- remove this -->
<!-- <br> -->

</body>
</html>


Thanks,
Sean
0
 
LVL 1

Author Comment

by:prettykittyq
ID: 12639468
Sean, you are a lifesaver!  That was it.  

Thanks so much!

Kitty
0
 
LVL 31

Expert Comment

by:seanpowell
ID: 12640313
Always happy to help, and thanks for the A :-)

Sean
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article discusses how to create an extensible mechanism for linked drop downs.
Without even knowing it, most of us are using web applications on a daily basis.  In fact, Gmail and Yahoo email, Twitter, Facebook, and eBay are used by most of us daily—and they are web applications. We generally confuse these web applications to…
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…
Suggested Courses

873 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question