better way to “finish” a list?
-
Hi, all –
I’m using the “soccer” theme, which has some HTML validation glitches. In the sidebar, the author uses a class “bottom” for putting a small finishing picture below a list:
.bottom { background: url(images/sidebar-bottom.jpg); height: 8px; }
The problem is, he uses it like this:
<h3>Categories</h3> <ul> <?php wp_list_cats('sort_column=name&optioncount=1&hierarchical=0'); ?> <div class="bottom"></div> </ul>
The validator barfs on putting a div tag within a ul tag. What might be a preferred way of doing this?
I tried contacting the author, but got a mail failure message.
Thanks.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘better way to “finish” a list?’ is closed to new replies.