amituofo
05-11-2008, 06:42 PM
I don't know if this is the right place for me to ask but I've been struggling to actually put the no. after the name of the top commentator on the same line.
Reason is because the (ul) is set to display:block. So it will looks something like this
Yan
(3)
Instead of Yan (3)
This is my CSS
#sidebar ul li {
display: inline;
}
#sidebar ul li a {
display: block;
color : #777;
padding : 3px 7px 3px 7px;
border-bottom : 1px solid #eee;
}
#sidebar ul li a:hover {
background : #f9f9f9;
}
PHP Code
<?php if(function_exists('ns_show_top_commentators')) { ?>
<h3>Top Commentators</h3>
<ul><?php ns_show_top_commentators(); ?></ul>
<?php } ?>
Anyone kind enough to help me?
Reason is because the (ul) is set to display:block. So it will looks something like this
Yan
(3)
Instead of Yan (3)
This is my CSS
#sidebar ul li {
display: inline;
}
#sidebar ul li a {
display: block;
color : #777;
padding : 3px 7px 3px 7px;
border-bottom : 1px solid #eee;
}
#sidebar ul li a:hover {
background : #f9f9f9;
}
PHP Code
<?php if(function_exists('ns_show_top_commentators')) { ?>
<h3>Top Commentators</h3>
<ul><?php ns_show_top_commentators(); ?></ul>
<?php } ?>
Anyone kind enough to help me?