Jump to content

slingsrat

Members
  • Posts

    4
  • Joined

  • Last visited

Everything posted by slingsrat

  1. Oh thanks for figuring out what I wanted. I did forget to mention that every row was only one cell but you deduced that. Touché.
  2. I can use <td style="padding:5px"> at the start of every cell I want padded. I was looking for a single entry in a style sheet to do it.
  3. I'm trying to add padding to every third cell tr:nth-child(3n+2) {font-family: Arial; font-size: 10pt; padding: 10px; background-color: #0099ff; color: white} tr:nth-child(3n) {color: white; text-align: right; font-size: 8pt} th{font-family: Arial} The first line of code works apart from the padding attribute. How to pad selected cell?
×
×
  • Create New...