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.

gujuraja143Asked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
pagemastahConnect With a Mentor Commented:
please try these solutions:

1.
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".

2.
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! :)
0
 
chops123Commented:
Well could depend on various reasons ..

Can you copy and paste the code ?

Regards
KC
0
 
sandyphillipsCommented:
gujuraja143,

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.

Sandy
0
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 Squarespace.com and use offer code ‘EXPERTS’ to get 10% off your first purchase.

 
COBOLdinosaurCommented:
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.

Cd&
0
 
COBOLdinosaurCommented:
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.
<note>
   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
</note>

Cd&
0
 
NetminderCommented:
Force-accepted.

Netminder
CS Moderator
0
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.