Sorry for this newbie question, i'm looping my db to get the list of my categories
foreach($cats as $cat) {
echo "<li><a href=\"/?page=catalogue&category=".$cat['id']."\"";
echo Helper::getActive(array('category' => $cat['id']));
echo ">";
echo Helper::encodeHtml($cat['name']);
echo "</a></li>";
and the list displayed Horizontal, how can i display it inline? in css i would just have done: display: inline;
Aucun commentaire:
Enregistrer un commentaire