Forum Moderators: phranque
I would like to include my CSS menu as an SSI but still have downstates for when the user is in those specific sections of the site.
Is there a way that I could add an ID to each page and then call on that ID in the external stylesheet? If so, I'm still a little unsure as to how to do it.
Any help would be very much appreciated.
<div id="menu">
<a id="button1" href="index.html"><span class="alt">Home</span></a>
<a id="button2" href="about.html"><span class="alt">About</span></a>
<a id="button3" href="contact.html"><span class="alt">Contact</span></a>
</div>
But where I need to include the state as down I have to use this, as I've made the nav using one image which includes both up and down states:
<a id="button1" style="background-position: 0px 32px" href="index.html"><span class="alt">Home</span></a>
So how can I include this as an SSI when I have to have a different element for each menu item?