Google Answers Logo
View Question
 
Q: Why is my HTML Table left aligned? ( Answered 5 out of 5 stars,   2 Comments )
Question  
Subject: Why is my HTML Table left aligned?
Category: Computers > Internet
Asked by: holstein13-ga
List Price: $2.50
Posted: 20 Jul 2002 16:31 PDT
Expires: 19 Aug 2002 16:31 PDT
Question ID: 43276
I have a website at http://cableorganizer.com  On that website, there
is a table with four products on it.  No matter what I do, that table
appears left aligned in IE 5.0 and 6.0.  How can I get the whole table
to be middle aligned? Please be specific.
Answer  
Subject: Re: Why is my HTML Table left aligned?
Answered By: j_philipp-ga on 20 Jul 2002 17:07 PDT
Rated:5 out of 5 stars
 
Hello Holstein13,

To center the table containing the four products, please search for
the following line:
    <td width="568" valign="top" height="437">

- Remove the "width" attribue-value pair of that td-opening tag.
- Put the attribute align="right" into the next td following that tag,
the one of the nested table.
- Check the result, and if needed, also change <div align="center">
inbetween those two td-tags to <div align="right"> (that, or
style="text-align: right").

Hope this helps.
holstein13-ga rated this answer:5 out of 5 stars
Thank you so much for your accurate answer.  That problem had been
driving my nuts.  I followed your advice and fixed the problem.

Comments  
Subject: apple.com lookalike?
From: joey-ga on 20 Jul 2002 18:52 PDT
 
Your site's shell sure resembles Apple's.
Subject: Re: Why is my HTML Table left aligned?
From: holstein13-ga on 20 Jul 2002 19:46 PDT
 
Can't believe Apple copied me like that ;-)

Other than that, what do you think of the site?

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy