smallbrownfrog (
smallbrownfrog) wrote in
ao3_skins2013-11-16 01:02 am
![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
![[community profile]](https://www.dreamwidth.org/img/silk/identity/community.png)
Making the table structure vsible
This is probably an incredibly basic question, but could somebody please help me understand how to make a Work Skin that will make all the dividing lines in a table visible again? I have a meta piece that I want to post, but it's completely unreadable and unusable once AO3's software has removed all the borders. I need clear lines between the different table cells so that people can easily scan a column or row.
Thank you.
Thank you.
no subject
#workskin table.bordered {
border-collapse: collapse;
width: auto;
}
#workskin table.bordered,
#workskin table.bordered th,
#workskin table.bordered td {
border: 1px solid black;
}
The line "width: auto" is optional, it makes your table colums as small as need be, not sure if you want that. Also note that there seems to be a bug that prepends "#workskin" to the lines on saving even if it's already there, so enter it without #workskin.
Then in your work you can write:
< table class="bordered" >
...
< / table >
(Without the spaces)
no subject
http://www.w3schools.com/css/css_table.asp
It lets you fiddle with the examples on the site.
no subject
Thanks again.
no subject
no subject
It's been 10 years since I had much cause to write external CSS stylesheets, and the reference book I had from back then didn't cover tables. So trying to figure out both the quirks of the coding and the quirks of the archive was making my head explode.
no subject
no subject
CSS formatting
douglas