Hi. Once again looking for your help.
I’ve just finished rwd project 4 (Technical documentation) and am still polishing. Basically, I wanted to give my navbar links a different background color. As the are all in a ul as li entries, I coundn’t use the li:nth-child attribute, as that affects all li entries. I couldn’t find any other appropriate CSS selector. Therefore I had to resort to inline CSS within my HTML code (style=), something I find ‘dirty’.
Does anyone have an idea, how I can do it ‘cleanly’?
Here’s the code: