Hello. I have a problem with PHP, and/or css.
[php]
<?php foreach ($this->children() as $child) : ?>
<?php echo $child->link($child->title, (in_array($child->slug, explode("/", $this->url)) ? ' class="menyhund"': null));
echo $child->content('bilde'); ?>
<?php endforeach; ?>
[/php]
This displays what i want, but it displays the elements in a list heading down. So it becomes a long list, i want the list to become more compact. Can you please help me?
This is the CSS of the div tag:
#test1 a { text-decoration: none; color: #fff; font-weight: bold; align:center; } #text1 p { align:center; font-size:large; }