HTML and Tables

Posted on 2002-07-25
Last Modified: 2010-04-09
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.

Question by:gujuraja143
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

Expert Comment

ID: 7178118
Well could depend on various reasons ..

Can you copy and paste the code ?


Expert Comment

ID: 7178121

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.

LVL 53

Expert Comment

ID: 7178462
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.

Industry Leaders: 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!


Accepted Solution

pagemastah earned 50 total points
ID: 7185681
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! :)
LVL 53

Expert Comment

ID: 7271007
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


Expert Comment

ID: 7431186

CS Moderator

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Google Tag Manager - Add Trigger Using Div class 22 100
Read text on Table 7 49
Increase image taller on inner pages 2 52
html5 1 45
Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this. Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it i…
When it comes to write a Context Sensitive Help (an online help that is obtained from a specific point in state of software to provide help with that state) ,  first we need to make the file that contains all topics, which are given exclusive IDs. …
In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…
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…

751 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