Home Forums Theme support Table border = 0 also displays a border

Tagged: ,

This topic contains 7 replies, has 2 voices, and was last updated by  7Theme Support 7 years, 5 months ago.

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • When I have a table in my page with the setting “border=0”, it even displays a border on my site.
    I’ve to add additional CSS to prevent it. Is this a bug?

    Hi,

    what theme do you use? Can you post the link to the page with the problem? Then we can check the source code and help you to solve the problem.

    I use the theme paris.

    http://www.hetdorpshuys.be/fietsen-wandelen/fietsen

    In wordpress editor: I set the border at “0”.
    The default CSS of the theme =

    #content table {
    width: 100%;
    border-spacing: 0;
    border: 1px solid #dcdcdc;
    }

    I should add

    #content table {
    border: 0px;
    }

    as “extra css content” for not displaying the border..

    Thanks in advance!

    Hi,

    it’s not the border of the table itself, it’s the border of the “td” element, you can use this css code to remove it:

    #content table td {
    border-bottom:0px none;
    }

    Thanks,

    but I don’t mean the td element. http://www.hetdorpshuys.be/fietsen-wandelen/fietsen
    but this (default) line in the css:

    #content table {
    width: 100%;
    border-spacing: 0;
    border: 1px solid #dcdcdc;
    }

    Oh, sorry, last time I saw a table on your home page and I thought you mean this one.

    You need to use the style attribute for the table:


    < table style="border:0px none" ...

    instead of the border attribute, then it's working.

    OK, thanks!

    You’re welcome!

Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.