I'm still new at this.
I'm playing with descendant selectors to style my code and am having a hard time with it.
My end goal is to use a bullet image in place of the default disc bullet.
So far I have this:
HTML:
<change><ul>
<li>New BMW Umbrella Design</li>
<li>Oompaville Rain</li>
<li>Umbrella Shortage of 1959</li>
</ul></change>
css:
change ul {
color:black;
font-size:1.5em;
font-family: Georgia, Times, serif;
background-color: #cccccc;
}
This is fine, now to replace the default bullets with images, I inserted <bull>:
HTML:
<change><ul>
<bull><li>New BMW Umbrella Design</li>
<li>Oompaville Rain</li>
<li>Umbrella Shortage of 1959</li></bull>
</ul></change>
css:
change ul bull li {
list-style-image: url(bullet.gif);
}
Theres many other combos I tried. I cant get the right combo and its driving me nuts because something just isnt clicking in my head...HELP!
I'm playing with descendant selectors to style my code and am having a hard time with it.
My end goal is to use a bullet image in place of the default disc bullet.
So far I have this:
HTML:
<change><ul>
<li>New BMW Umbrella Design</li>
<li>Oompaville Rain</li>
<li>Umbrella Shortage of 1959</li>
</ul></change>
css:
change ul {
color:black;
font-size:1.5em;
font-family: Georgia, Times, serif;
background-color: #cccccc;
}
This is fine, now to replace the default bullets with images, I inserted <bull>:
HTML:
<change><ul>
<bull><li>New BMW Umbrella Design</li>
<li>Oompaville Rain</li>
<li>Umbrella Shortage of 1959</li></bull>
</ul></change>
css:
change ul bull li {
list-style-image: url(bullet.gif);
}
Theres many other combos I tried. I cant get the right combo and its driving me nuts because something just isnt clicking in my head...HELP!


Comment