Click to See Complete Forum and Search --> : Help - Applying 3 sets of style sheets on one page


kurson
03-28-2006, 12:28 AM
Hi.

I need to create three sets of style sheets and apply them to three different places within the same file.

Question: what is the syntax for applying 3 style sheets.

The reason for this is that I have an accordion style list menu.

The outer links needs one set of colors and font values for off/visited and on/hover

Expanded, the list menu has two types of sub-links, one links representing messages that a member has sent and the other messages that the member has received within an internal mailing system of a dating site.

The "To" links needs one set of colors and font values for off/visited and on/hover that is different than the outer links

The "From" links needs one set of colors and font values for off/visited and on/hover that is different than the outer links and the "To" links.

See below for mock code:

-------------------
<table>
<tr>
<td> <a href="javascript:click2(<%=div%>)" >Category Link</a>
<LI><A HREF="<%=urlArray[i]%>" target="_blank">From Link</A>
<LI><A HREF="http://www.develop4u.com/gallery" target="_blank">To Link</A>

</td></tr>
</table>
-------------------

Any assistance in executing this would be very appreciated as I am stumped.

Thank you.

jogol
03-28-2006, 01:41 AM
give the links different classes and style them differently in your css

<a class="catLink" href="javascript:click2(<%=div%>)" >Category Link</a>
<A class="fromLink" HREF="<%=urlArray[i]%>" target="_blank">From Link</A>
<A class="toLink" HREF="http://www.develop4u.com/gallery" target="_blank">To Link</A>

ray326
03-28-2006, 12:22 PM
And you need to wrap your <li>s in a <ul>.

kurson
03-28-2006, 12:26 PM
Hi

Thank you for the reply. I'll give it a try.