tr bgcolor issue

  • Author
    Posts
  • #154679

    “TR bgcolor” doesn’t work properly with this theme: it doen’t show the background colour in the rows.
    “TD bgcolor” work perfectly.

    The blog I need help with is: (visible only to logged in users)

    #154703
    binarymoon
    Theme Author

    Hi – I checked this page and see a big table. It looks like the rows are coloured in the html.

    The table rows are coloured with alternating colours to make the rows stand out.

    You can use:

    table tr:nth-child(even) {
    background-color: #eeeeee;
    }
    table tr:nth-child(odd) {
    background-color: #eeeeee;
    }

    Thanks – Ben

    #154721
    emanuelebaserga
    Member
    Original poster

    Thank you, I’ve tried it but this is not the solution I need: I need a way to colour each row one-by-one, with many colours
    Example; a table could has: first row black, second row green, then no colour for twenty rows, than blue, etc…

    #154787
    binarymoon
    Theme Author

    Ah ok – I don’t know how to do that I’m afraid. Sorry.

  • The topic ‘tr bgcolor issue’ is closed to new replies.