![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
The following code doesn't work as I want, because the 2nd list doesn't appear as a "list" (no bullets) and requires the <br> after each item to appear as a vertical list of items. li {display:inline} li.list {margin-left: 60px} |
#3
| |||
| |||
|
|
The following code doesn't work as I want, because the 2nd list doesn't appear as a "list" (no bullets) and requires the <br> after each item to appear as a vertical list of items. li {display:inline} li.list {margin-left: 60px} Have a very carefull think about what the first of the above two rules does. |
#4
| |||
| |||
|
|
The following code doesn't work as I want, because the 2nd list doesn't appear as a "list" (no bullets) and requires the <br> after each item to appear as a vertical list of items. li {display:inline} li.list {margin-left: 60px} Have a very carefull think about what the first of the above two rules does. I did, and I tried to have 2 distinct "li" declarations: li.menu and li.list. When I did so, it destroyed the "li" that manipulates my horizontal menu at the top of the page (the "display:inline" declaration), and I wound up with a bulleted vertical list of the menu items. I couldn't figure out a way to declare 2 "li" types, and I had to revert to the posted code (which at least handles my menu list). sigh |
|
To respond to your answer, does it mean that the first rule applies to _all_ "li" rules - and that the second is a subset of it? If so, how _do_ I declare 2 separate and different rules for the "li"/"ul" sets that do different things (other than what I tried)? TIA |
#5
| |||
| |||
|
|
The following code doesn't work as I want, because the 2nd list doesn't appear as a "list" (no bullets) |
|
li {display:inline} |
|
ul li class="list">118 units with balconies<br></li li class="list">Large heated pool<br></li |
![]() |
| Thread Tools | |
| Display Modes | |
| |