Need help? Check out our Support site, then


Inserting a table without borders

  1. I'm new to wp, but I have worked in html for years.

    I'm trying to add a simple table without borders:

    <table border="0"><tr><td>Cell 1</td><td>Cell 2</td></tr></table>

    But the border always appears.

    I've also tried it using the "style" comment:

    <table style="border-width: 0;"><tr><td>Cell 1</td><td>Cell 2</td></tr></table>

    But there's always a border.

    Any ideas on how to do this?

    Thanks!

    The blog I need help with is steveachelis.wordpress.com.

  2. A fellow forum volunteer has written a post which may be of interest
    http://wpbtips.wordpress.com/2010/06/15/overriding-table-borders/

  3. Ah! Thanks, justjennifer. I didn't realize I needed the style="border:none;" within each <td> tag...

  4. Arg. I purchased the CSS update and added this to the CSS:

    table {
    border:none;
    }

    td {
    border:none;
    }

    And the borders still appear.

    Ideas?

    Thanks!

  5. Got it. I needed to use:

    #content table, #content tr td {border:none;}

  6. What browser are you using?

  7. IE 9.

  8. Afraid I can't help you there. I'm on XP, so no IE9.

Topic Closed

This topic has been closed to new replies.

About this Topic