• neuroplastic

    (@neuroplastic)


    Hi,

    This is my releases page on my development site:

    http://www.thebutterfliesareattacking.com/releases-2/

    Isn’t it nice? (Ignore that the pics are all the same!) All except that hideous cream colour in the alternate rows. I went to my CSS and changed the thead colour to #ffffff but something must be overriding that because the colour is still cream. If anyone can figure out how to get all the table rows nice and white, that would be great.

    Thanks!

Viewing 6 replies - 1 through 6 (of 6 total)
  • esmi

    (@esmi)

    Try using Firefox with the Firebug add-on for this kind of CSS work.
    http://getfirebug.com/

    j3ddesign

    (@j3ddesign)

    me again 😉

    where you have (bgcolor=”fffff”) it should be “background-color” 😀

    Thread Starter neuroplastic

    (@neuroplastic)

    I followed both your suggestions and now the colour’s a pale grey instead of cream, which is better but still not what i want. Hmmm.

    j3ddesign

    (@j3ddesign)

    Ah, found it!

    .main-content article table tr:nth-child(2n) { background: rgba(0,0,0,0.05) }
    Change it to:
    .main-content article table tr:nth-child(2n) { background: white;}

    (Line 201 style.css)

    Thread Starter neuroplastic

    (@neuroplastic)

    Thank you!

    God I love these forums. Full of smart people 🙂

    Really appreciate it j3d and esmi. Firebug is a great little add-on

    j3ddesign

    (@j3ddesign)

    Your welcome.
    Yeah development would be a hell of a lot slower without “inspect element” in Chrome (effectively the same thing as Firebug, i just prefer the layout & Chrome :D)

    Glad you got it sorted, best of luck to you!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Changing colours in table cells’ is closed to new replies.