Hello CSS guru's:
I'm new to CSS and I'm having trouble deciphering markup like this:
#navcontainer ul { margin: 0; } or even this:
#navcontainer ul ul li { margin: 0; }
In the first example, the id #navcontainer is followed by whitespace and another CSS element. In the second example, there are 3 elements that follow the id, which are also separated by whitespace.
In the first example, I assume that the ul that is associated with #navcontainer will have a margin of 0.
But I have no idea what the second declaration means.
My question is, how are elements separated by whitespace in a declaration interpreted?
Any help would be appreciated.