|
Posted by Andy Dingley on 04/02/07 08:30
On 31 Mar, 00:59, dorayme <doraymeRidT...@optusnet.com.au> wrote:
> A way to get rid of all the hand inserted class="current"s.
You can ditch almost all of those by adding a class="foo-section" to
the <body> and testing for equivalence to foo-section within the page,
rather than having to add class="current" to every location that needs
it. More complex CSS selectors in one file, rather than repeated
additions throughout the pages. Works with SSI too.
Navigation:
[Reply to this message]
|