i just try to make a simple word on a li, anchor text pointing the equivalent url. How can i create a new a href class or id to change the current a href values?
the css code is:
- Code: Select all
#postcodes li a {color:#fff; display:block; outline:none; height:20px;}
#postcodes li a.expanded {background:url(/images/minus.gif) no-repeat 98% 50%;}
#postcodes li a.collapsed {background:url(/images/plus.gif) no-repeat 98% 50%;}
#postcodes li a:hover {color:#CA3541; text-decoration:none;}
#postcodes li ul {list-style:disc; margin:0 0 0 20px; }
#postcodes li li {background:none; display:inline; padding:0 5px 0 8px; background:url(/images/bullet.gif) no-repeat 0 50% ; font:9pt arial, helvetica, sans-serif; font-weight:normal;}
and the current postcodes.php code:
- Code: Select all
<ul>
<li id="centralLondon"><a href="#">Central London <span class="hide">parks</span></a>
<ul>
<li>Bankside</li>
<li>Barbican Estate</li>
<li>Barnsbury</li>
</ul>
</li>
i just try to add
- Code: Select all
<ul>
<li id="centralLondon"><a href="#">Central London <span class="hide">parks</span></a>
<ul>
<li>[b]<a href="../london-areas/Bankside.php">[/b]Bankside[b]</a>[/b]</li>
<li>Barbican Estate</li>
<li>Barnsbury</li>
</ul>
</li>
Can someone help?
thanks
[/code]



