1

could you tell me what does this declaration mean. Why does it have ul tag mentioned twice?

.jqueryslidemenu ul ul
hanazair
  • 819
  • 1
  • 10
  • 22
  • I would like to think it is an error. I cannot seem to find a valid reason to nest an unordered list inside another. – Ragnar123 Feb 25 '11 at 21:14
  • 1
    Spaces are child selectors, not direct descendant selectors. So you could have a li in the first ul that has a ul in it. – Alan Geleynse Feb 25 '11 at 21:16
  • @Ragnar123 - No this is valid. In HTML this would become an outline with nested ULs indented to the right. – Amir Raminfar Feb 25 '11 at 21:26

2 Answers2

7

It would match all UL tags that are descendants of a UL Tag that is a descendant of an element that has the jqueryslidemenu class on it.

offex
  • 1,875
  • 5
  • 17
  • 27
0
<div class="jqueryslidemenu">
<ul>
<ul> --> it will be for this one
Duniyadnd
  • 4,013
  • 1
  • 22
  • 29