NOTE: The categories are not the categories which are related to product those categories are and extension categories like for example this categories belong to blog and there are some items under this categories.
I have some categories which are fetched dynamically in this way
<li><a href="<?php echo $cat->getAddress(); ?>" ><?php echo $cat->getTitle(); ?></a></li>
Now if a category is selected I want to show it highlighted in this way means it should be shown as in active stage.
so far I tried giving
<li> and by writing
CSS for that but that doesn't worked please help me in solving this thanks in advance.
Please someone look into this issue.