Inserting a table without borders

  • Author
    Posts
  • #612986

    sachelis
    Member

    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.

    #613122

    justjennifer
    Moderator

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

    #613127

    sachelis
    Member

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

    #613131

    sachelis
    Member

    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!

    #613132

    sachelis
    Member

    Got it. I needed to use:

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

    #613133

    justjennifer
    Moderator

    What browser are you using?

    #613135

    sachelis
    Member

    IE 9.

    #613181

    justjennifer
    Moderator

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

The topic ‘Inserting a table without borders’ is closed to new replies.