CSS Doubts/Questions

C

Carlos Cruz

Hi,

How can I have 2 asp:hyperlink at the same aspx page but with diferent
styles ?

I've tryed this:

A:visited
{
color: #febc11;
text-decoration: underline;
}

A.Menu:visited
{
font-weight: bold;
color: #febc11;
text-decoration: underline;
}

.... but can I tell each control to use the diferent style ?
By the way... I tryed to use Styles in an ascx and inserted it on an aspx
page (with no styles applyed) and the styles doesn't work.
I don't understand...

Thanks in advance

CC
 
S

Scott

Try setting the CssClass of the HyperLink controls to two different class selectors, then define
the selectors in your stylesheet.

Scott
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top