• Hello,

    I’ve created a ton of tables before, but for some reason, I cannot get this table to align right or be lo wider than 150px. Below is my code. Could someone please tell me what I’m missing? I cannot share the page link as it is not published yet. Thank you!

    <table width="150" align="right">
    <tbody>
    <tr>
    <td style="background-color: #000f87" "width=150" align="right">
    Registration<br>
    The Course<br>
    2016 Winners<br>
    Sponsors<br>
    Become a Sponsor<br>
    Volunteer</td>
    </tr>
    </tbody>
    </table>

Viewing 3 replies - 1 through 3 (of 3 total)
  • Can you double-check your code? You’ve got fancy quotes in the <table> and <td> tags instead of straight quotes.

    Thread Starter sarahyoung5314

    (@sarahyoung5314)

    Darn it, I copied/pasted and those extra quotes were not in my original code.
    <table width=”150″ align=”right”>
    <tbody>
    <tr>
    <td style=”background-color: #000f87″ “width=150″ align=”right”>
    Registration<br>
    The Course<br>
    2016 Winners<br>
    Sponsors<br>
    Become a Sponsor<br>
    Volunteer</td>
    </tr>
    </tbody>
    </table>

    I don’t know if it’s a copy-paste error when you post here on the forums, but I still see the curly quotes in your code. Also, all three browsers I tried (Safari, FF, and Chrome) ignore the width attribute in the <table> tag and use whatever is defined in CSS, so check that as well.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Table Problems on Site’ is closed to new replies.