Question:

Help with tables? please?

by  |  earlier

0 LIKES UnLike

okie so my profile is at myspace.com/iLUV_jeffreeSTAR.

So i finally figured out how to make my table centered (on the right hand side youll c a star graphic, some text, then another star graphic, I used tables to do that. Anyway, I added < div style=" position:relative; left: 40px; > to get the tables to center, but now inside the tables in the middle one, the text is way outta place. Everything is suposed to be centered, and now its doing this. What can I do to fix it?

 Tags:

   Report

3 ANSWERS


  1. cant you just put &lt;center&gt; &lt;/center&gt; in it??


  2. Lose the style on the divisions.  Replace &lt; div style=&quot; position:relative; left: 40px; &gt; with just &lt;div align=&quot;center&quot;&gt;   Otherwise you have to change the style which may be hidden on another sheet.

  3. Could have set the entire table in a div and made a width for it to match the table width to center the table:

    &lt;div width: XXpx; margin: 0 auto; text-align: center;&quot;&gt;

    Table stuff

    &lt;/div&gt;

    If text doesn&#039;t center, then add style=&quot;text-align: center;&quot; to table tag.

    Ron

Question Stats

Latest activity: earlier.
This question has 3 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.