HTML and Tables

I have this huge table on my page.  The table must have around 20 rows and 15 columns.  

The problem that I am having is, for some weird reason, the table doesn't show up like it is supposed to, which is at the top of the page.  It shoes up in the middle of the page, with a huge blank space at the top.  

Am I doing anything wrong?  I don't have any break lines or anything before the table, it just shows up half way through the page.

Who is Participating?

Improve company productivity with a Business Account.Sign Up

pagemastahConnect With a Mentor Commented:
please try these solutions:

inside your <table> tag, insert a top value for the align property. for example, if your table tag is like this:

<table border="0" cellpadding="5">

then change it to:

<table border="0" cellpadding="5" align="top">

or, if your table tag already has an align property, be sure to change it to "top".

do solution 1. since you don't have <br>s above as you've said, remove <p> above your table. this always happens if you're using HTML generators.

hope that helps! :)
Well could depend on various reasons ..

Can you copy and paste the code ?


It's hard to tell what might be going on from your description. Could you post the HTML (even in abbreviated form) or direct us to a link where we could view the code on-line? Also, which browser(s) are you using to view the code? And, finally, have you used any HTML evaluation tools to ensure such things are an appropriate number of close tags? Strange things can happen in some browsers when tables, divs, or other structural elements aren't closed appropriately.

Get 10% Off Your First Squarespace Website

Ready to showcase your work, publish content or promote your business online? With Squarespace’s award-winning templates and 24/7 customer service, getting started is simple. Head to and use offer code ‘EXPERTS’ to get 10% off your first purchase.

Yes, we will need the code or a lilnk, and what browser are you looking at it with.  One final consideration.  Was it hand coded or generated by script or a development tool.

This question has been abandoned. I will make a recommendation to the
moderators on its resolution in a week or two. I appreciate any comments
that would help me to make a recommendation.
   In the absence of responses, I may recommend DELETE unless it is clear
   to me that it has value as a PAQ.  Silence = you don't care


CS Moderator
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.