Whenever I look at css tutorials, it seems that the way people write their selectors are different.
Is there any difference between:
ul#navigation {
blah blah;
}
and
#navigation ul {
blah blah;
}
Also, sometimes people write "div" in front of their classes and ids, is there a point to this? Is there a difference between:
div#header
and just
#header
Thanks in advance, though please answer only if you are 100% sure ^_^
Is there any difference between:
ul#navigation {
blah blah;
}
and
#navigation ul {
blah blah;
}
Also, sometimes people write "div" in front of their classes and ids, is there a point to this? Is there a difference between:
div#header
and just
#header
Thanks in advance, though please answer only if you are 100% sure ^_^