In html 5 and CSS, on the stylesheet, how do I apply styles to unordered lists located in nav with a class?

zanderx327

New member
Sorry for the wording of the main question. In my code I have a nav that is <nav class="horizontal">
and on my stylesheet, I need to add styles to the unordered lists located in this. To keep things simple, we'll just say I'm applying color: green to it.
I have tried this:
nav.horizontal ul{
color: green;
}
and it doesn't work.. What am I doing wrong? Thanks.
 
Back
Top