Thanks but it wasn't was my question or I don't understand
I currently use If textdesc = "textblack" or "textm" etc in a label called lFound and add the Attributes.Add("Class", textdesc) to set the lFount text color
textdesc could by Red, Black, Green etc how do I use this to change the Text Import in my menus's from black to the color stored in textdesc
I have multiple menu items Students Maintenance reporting etc all need text color to be changed see below
</em>Import</a>
}
.textm {
color: #FFCCFF !important;
}
.textn {
color: #00CC66 !important;
}
.texto {
color: Aqua !important;
}
.textblack {
color: Black !important;
}
<a href="#about-section" class="nav-link fs mediaresize"><em class="icon-graduation-cap fs" style="margin-right: 5px;"></em>Student(s)</a>
<ul class="dropdown dropdown arrow-top" style="width: 240px">
<li><a href="SLSS.aspx">Master</a></li>
<li><a href="SLSN.aspx">Note</a></li>
<li><a href="SLSD.aspx">Error Deletion</a></li>
</ul>
</li>
<li class="has-children">
<a href="#about-section" class="nav-link fs mediaresize"><em class="icon-wrench fs" style="margin-right: 5px;"></em>Maintenance</a>
<ul class="dropdown dropdown arrow-top" style="width: 280px">
<li><a href="SLP.aspx">Personalise</a></li>
<li><a href="SLC.aspx">Maintenance</a></li>
<li><a href="SLR.aspx">Control</a></li>
<li><a href="SLS.aspx">Note Entry</a></li>
</ul>
</li>