View Single Post
Old 07-18-2022, 02:06 PM   #5
enuddleyarbl
Guru
enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.
 
enuddleyarbl's Avatar
 
Posts: 769
Karma: 1537886
Join Date: Sep 2013
Device: Kobo Forma
After playing around with the css formatting for those tables, I just set them all to the same settings. I don't know why the author/publisher made them slightly different from each other -- it really made no difference. In my stylesheet.css, I ended up with:
Code:
table#an1111, table#an2315, table#an3477, table#an3819, table#an3988, table#an3017 {
  table-layout: fixed;
  width: 100%;
  border-collapse: separate;
  border-spacing: 5px;
  border: 1px black solid;
}
table#an1111 td, table#an3477 td, table#an3988 td, table#an2315 td, table#an3017 td, table#an3819 td {
  width: 50%;
  border: 0;
  padding: 2px;
}
And, since these were all the tables in the book, I could have gotten away without the IDs at all and just gone with changing the default table and td settings (or at least started there as Turtle91 said). But, this is fine.

EDIT: After reading through RbnJrg's post, I noticed I had my border-collapse line in the td class instead of the table class. I moved it and changed my post, to reflect its new location.

Last edited by enuddleyarbl; 07-18-2022 at 02:14 PM.
enuddleyarbl is offline   Reply With Quote