Automatic ul class post-categories generated
-
Hi there
I’ve just found out that when I’m displaying the categories with
<?php the_category(); ?>
it creates an unordered list (ul) by default.
I’m okay with that, but ain’t the default value for ul’sdisplay: inline;
??
Cause I had some trouble managing to get the different categories on one line.
I now use the $separator-parameter to divide the categories with a comma and now it displays allright. (one line only).but even when I’m giving the ul class=”post-categories” which is generated automatically the value
display: inline;
It doesn’t display on one line.Can somebody tell me why I had problems with all this?
Thx & Cheers
- The topic ‘Automatic ul class post-categories generated’ is closed to new replies.