{"id":13893194,"date":"2021-01-11T17:29:49","date_gmt":"2021-01-11T17:29:49","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/top-and-bottom-borders-not-visible\/"},"modified":"2021-01-11T17:29:49","modified_gmt":"2021-01-11T17:29:49","slug":"top-and-bottom-borders-not-visible","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/top-and-bottom-borders-not-visible\/","title":{"rendered":"top and bottom borders not visible"},"content":{"rendered":"<p>Hi,<br \/>\nI have a table with 3 rows and 7 columns, 2, 4, &amp; 6 are very narrow to space columns 1, 3 5 &amp; 7 out. I want to put borders with curved corners around columns 1, 3, 5 &amp; 7. The table doesn&#8217;t have a header row.<br \/>\nI have the following CSS code but the top and bottom borders aren&#8217;t working.<\/p>\n<p>.tablepress-id-1 {<br \/>\n\twidth: 100%;<br \/>\n}<\/p>\n<p>.tablepress-id-1 tbody td {<br \/>\n\tborder-top: none;<br \/>\n}<\/p>\n<p>.tablepress-id-1 .row-1 td {<br \/>\n\tfont-size: 2rem;<br \/>\n\tfont-weight: bold;<br \/>\n\tcolor: #000000;<br \/>\n\ttext-align: center;<br \/>\n}<\/p>\n<p>.tablepress-id-1 td:empty {<br \/>\n\twidth: 5px;<br \/>\n}<\/p>\n<p>.tablepress tbody td<br \/>\n.tablepress-id-1 .row-3 td {<br \/>\n\t-webkit-hyphens: none;<br \/>\n\t-ms-hyphens: none;<br \/>\n\thyphens: none;<br \/>\n}<\/p>\n<p>.tablepress-id-1 .row-1 td,<br \/>\n.tablepress-id-1 .row-2 td,<br \/>\n.tablepress-id-1 .row-3 td {<br \/>\n\tborder-left: 2px solid #000000;<br \/>\n\tborder-right: 2px solid #000000;<br \/>\n}<\/p>\n<p>.tablepress-id-1 .row-1 td.column-1,<br \/>\n.tablepress-id-1 .row-1 td.column-3,<br \/>\n.tablepress-id-1 .row-1 td.column-5,<br \/>\n.tablepress-id-1 .row-1 td.column-7,<br \/>\n {<br \/>\n\tborder-top: 2px solid #000000 !important;<br \/>\n}<\/p>\n<p>.tablepress-id-1 .row-3 td.column-1,<br \/>\n.tablepress-id-1 .row-3 td.column-3,<br \/>\n.tablepress-id-1 .row-3 td.column-5,<br \/>\n.tablepress-id-1 .row-3 td.column-7,<br \/>\n {<br \/>\n\tborder-bottom: 2px solid #000000;<br \/>\n}<\/p>\n<p>I tried changing the row-1 td to th but that didn&#8217;t work.<\/p>\n<p>Thanks<\/p>\n<p>Paul   <\/p>\n","protected":false},"template":"","class_list":["post-13893194","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/13893194","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/13893194\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=13893194"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}