Question:

Css/html help me with this table problem please! ?

by  |  earlier

0 LIKES UnLike

The beggining of my code for a table somehow got scremed up, so now it says <p><table align=" class=" border=">

<tr>

Before there was something in bored, class and align, but I cant remeber exactly what it was. Can you tell me what to put for align class and border, cos left like this, my tables dont show up properly.

If it helps, I dont want anyborder, i want it to not be centered, just on the left hand side of the page, and i dont even know what class means. Please help me

 Tags:

   Report

2 ANSWERS


  1. First off, you can ignore class and just remove it.

    border should be 0 (zero) between single quotes as in:

    border=&#039;0&#039;

    My table HTML is rusty because I rarely use them in by webpages, but align=&#039;left&#039; should left align the text inside the table.

    For more info on the &lt;table&gt; tag... see http://reference.sitepoint.com/html/tabl...


  2. Can&#039;t help you with the class which is setting the table styling, but just remove it and use:

    &lt;table style=&quot;border: 0;&quot;&gt;

    Browsers align stuff left by default, but if some styling is causing it to be centered or to the right, then do it like this:

    &lt;table style=&quot;text-align: left; border: 0;&quot;&gt;

    Hope that does it for you.  Just guessing without see page.

    Ron

Question Stats

Latest activity: earlier.
This question has 2 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.