By sylvie_n on
Why is a line break automatically placed between the word category: and the print of the taxonomy terms when I use
print "category:"; print $terms
in the node.tpl.php file?
I have looked at the CSS and erased the padding-left: but this hasn't solved it.
Many thanks
Comments
use it like this
<?php print "category: $terms"; ?>Add category in seperate div with a container
Add container divs as follows
Add css
. termslabel, .terms {
float :left;
}
print $terms; terms will produce a div structure with terms as class
thanks guys. But
thanks guys.
But unfortunately its still appearing with the break, as follows:
category
bar, food, hospitality