I have seen the syntax:
ul#nav li a
{
}
And im not really sure what it means, is it the same as saying:
#nav ul li a
?
I guess I dont really understand what it means to have an element type before an id selector with no space…
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
ul#navwill apply to<ul id="nav">whereas:
#nav ulwill apply to any<ul>within the<tag id="nav">