Missing border | WordPress.org

[ad_1]

Hi,

thanks for your post, and sorry for the trouble.

Correct, this code only affects table body cells (indicated by td in HTML and CSS code). The header and footer row use th (“table head”) markup, so that you would need to extend the CSS code to

.tablepress th,
.tablepress td {
  border: 1px solid #000000 !important;
}

(You won’t need the tbody here either, due to the !important flag.)

Best wishes,
Tobias

That’s great thanks – the only thing now is I don’t have a border between the header and the opening row?

Hi,

that’s in Firefox, right? There’s a long-standing Firefox bug regarding border lines in table head cells, unfortunately 🙁
(This might be another reason against using vertical border lines, in addition to them being detrimental to readability of table data.)

Regards,
Tobias

That’ll explain it then…

Thanks for your help (again)

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer