followtheboat
Programmer
Good afternoon,
I'm struggling to style some basic unordered lists. Here is the code:
CSS CODE
HTML CODE
I'm trying to strip all list elements within the parent sidebar div, hence the sidebar ul li list style none, and then treat each list separately.
Right now the above code has stripped out the list element. However in the above example the side-cat list displays a list but it doesn't display my disc list style, either inside or out.
Any clues? It's the one area of my site that is causing me frustration!
I'm struggling to style some basic unordered lists. Here is the code:
CSS CODE
Code:
#sidebar {width:260px;margin-left:12px;float:left; text-align: left; }
#sidebar li {list-style: none;}
.side-cat {float:left;width:250px;margin-bottom: 10px; margin-top: 20px;background:url(images/notepad.gif) no-repeat center top}
.side-cat ul li {list-style-position: inside;list-style-type: disc;}
HTML CODE
Code:
<div id="sidebar">
<div class="side-cat">
<ul><li><?php wp_list_categories('sort_column=name&optioncount=1&hierarchical=0&title_li=&show_count=1&style=list'); ?>
</li></ul>
</div>
</div>
I'm trying to strip all list elements within the parent sidebar div, hence the sidebar ul li list style none, and then treat each list separately.
Right now the above code has stripped out the list element. However in the above example the side-cat list displays a list but it doesn't display my disc list style, either inside or out.
Any clues? It's the one area of my site that is causing me frustration!