Hey guys..I'm trying to figure out how to place my CSS correctly to maintain my styles within hyperlinks.

I have a TOC section with header links and sub links underneath and I want to use my CSS styles to represent the links correctly. Currently(without links) it looks like this:

<span class="A">Title Section</span>
<span class="B">Sub Link 1</span>
<span class="B">Sub Link 2</span>
<span class="B">Sub Link 3</span>

When I use links it references the style within my CSS file which happens to match class B as the link format and as a result, the Title Section loses it's formatting.

What would be the best way to adjust this code to still maintain the classes correctly while having each line a hyperlink?

Thanks.