![]() |
Re: long category name in menu
So if I add the <li> tags to the menu, then in the css file I could add:
ul { list-style-image: url(bullet.gif); } to create the bullet image for each line on the menu, right? I added the list tags but the text is still not aligned? thanks!! |
Re: long category name in menu
It would go inside the foreach, like this:
<li><font class="CategoriesList"><a href="home.php?cat={$c.categoryid}" class="VertMenuItems iconlink">{$c.category}</a></font></li> |
Re: long category name in menu
that worked for firefox, but internet explorer still does not align?
http://www.virtualgeorge.com/shop/home.php |
Re: long category name in menu
Get rid of the style sheet specifying the bullet.gif and see if the default bullet behaves the same way.
|
Re: long category name in menu
Yes, tried it with & without bullet image, same result.
Currently I have nothing in the css specifying a bullet image. |
Re: long category name in menu
Try this:
<ul> {foreach from=$categories item=c} <li><font class="CategoriesList"><a href="home.php?cat={$c.categoryid}" class="VertMenuItems iconlink">{$c.category}</a></font></li> {/foreach} </ul> |
Re: long category name in menu
Thanks! That code worked for the alignment, I had left out the ul tags.
|
All times are GMT -8. The time now is 08:08 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.