HyperLink web server control styles

  • Thread starter Thread starter acko bogicevic
  • Start date Start date
A

acko bogicevic

Hi
How can i make my styles work on HyperLink web server control.
I want it to be some color when the mouse is over it...
Thanks.
Alex
 
hi,
the hyperlink control renders an <A> tag to the browser
with an href attribute pointing to the link page - making
the styles dependent on the users browser settings (as
far as I know).
I usually create my hyperlinks as webcontrols.label
objects which render to the browser as <DIV> elements,
and then access the attributes collection of the label
control, adding an 'onclick' event for redirection, and
modifying the 'class' attribute to apply a stylesheet
that governs colour and mouse pointer.

alex
 
Back
Top