Strip all the whitespace out. It can cause problems in IE and will not be around in the next version.
Ryan Thrash, MODX Co-Founder
Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
-
- 205 Posts
Thanks garryn and Ryan
The mistake I made was to change the hereclass to an active link in my snippet at the same time as removing the white space. After removing white space my LI here class was no longer being applied so I had assumed it must have been when I removed the white space when in fact it was making the current page link the active link that created the problem.
Basically you cannot use class="here" and also have the current link as active at the same time as I see it
that is correct; I use a hacked version that allows it to be both because I often use it for fancy styling.