WordPress.org

Forums

Platform
[resolved] How show Table Borders ? (7 posts)

  1. makrandmane
    Member
    Posted 3 years ago #

    I am using Platform wordpress theme,

    I am trying to add simple HTML table in my post, I have written a code in Text section and its showing perfectly in Visual section, but when I preview the post its not showing any border for tablet, apart from border its not showing any kind of style like alignment, italic, text size etc,

    Style is looks ok with Theme but How to show Table Borders ?

    Pelase help ..

  2. WPyogi
    Forum Moderator
    Posted 3 years ago #

    We'd need to see your site to help with CSS.

  3. makrandmane
    Member
    Posted 3 years ago #

  4. WPyogi
    Forum Moderator
    Posted 3 years ago #

    I don't see a table on that page.

  5. makrandmane
    Member
    Posted 3 years ago #

    I am trying to add but its not showing any border, right now my post in draft, I will publish that

  6. WPyogi
    Forum Moderator
    Posted 3 years ago #

    You need to add CSS to show the borders - try:

    .hentry table,
    .hentry table td,
    .hentry table th
    {
        border: 1px solid black;
    }

    CSS reference:

    http://www.w3schools.com/css/css_table.asp

  7. makrandmane
    Member
    Posted 3 years ago #

    Thank buddy, its working

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic