Ken,
Thanks again for your reply.
Here's what I'm doing within <HEAD/>. It worked for datagrid HyperLink
Column, but not for HyperLink Button set to Select command.
The hyperlink itself works, but is always default blue on mouseover.
Thanks.
Alan
<HTML>
<HEAD>
<title>Manager Reviews</title>
<meta content="True" name="vs_snapToGrid">
<meta content="True" name="vs_showGrid">
<meta content="Microsoft Visual Studio 7.0" name="GENERATOR">
<meta content="C#" name="CODE_LANGUAGE">
<meta content="JavaScript" name="vs_defaultClientScript">
<meta content="
http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
<LINK href="WebStylePermal.CSS" type="text/css" rel="stylesheet">
<LINK href="webMenuStylePermal.css" type="text/css" rel="stylesheet">
<style>
a { text-decoration :none }
a:hover { color:red; text-transform:uppercase; }
</style>
</HEAD>
<body MS_POSITIONING="GridLayout">......................
[quoted text, click to view] "Ken Cox [Microsoft MVP]" <BANSPAMken_cox@sympatico.ca> wrote in message
news:Oz2xG8P0EHA.1400@TK2MSFTNGP11.phx.gbl...
> Hi Alan,
>
> It should be the same as before:
>
> A:hover { TEXT-TRANSFORM: uppercase; COLOR: red }
>
> Can you show us a sample of the rendered HTML?
>
> Ken
>
> "Alan Z. Scharf" <ascharf@grapevines.com> wrote in message
> news:uCNdK$J0EHA.3972@TK2MSFTNGP12.phx.gbl...
> > Ken
> >
> > I changed from hyperlink to LinkButton with Select command in order to
> > trap
> > event. Text value comes from database column.
> >
> > Is there a way to control Hover foreground color on linkbutton?
> >
> > I triedvarious things with A.linkButton: hover, but couldn't get it.
> >
> > Note: The linkbutton is a DataGrid column.
> >
> > Thanks very much.
> >
> > Regards,
> >
> > Alan
> >
> >
> >
> > "Ken Cox [Microsoft MVP]" <BANSPAMken_cox@sympatico.ca> wrote in message
> > news:#hGMwizzEHA.4028@TK2MSFTNGP15.phx.gbl...
> >> Hi Alan,
> >>
> >> You can do that sort of thing by embedding Style tags inside the Head
> >> portion of the HTML. Here's a sample:
> >>
> >> <style>
> >> a { text-decoration :none }
> >> a:hover { color:red; text-transform:uppercase; }
> >> </style>
> >>
> >> Click the Styles category here for more:
> >>
> >>
http://msdn.microsoft.com/workshop/author/dhtml/reference/objects/a.asp > >>
> >> Does this help?
> >>
> >> Ken
> >> Microsoft MVP [ASP.NET]
> >> Toronto
> >>
> >>
> >> "Alan Z. Scharf" <ascharf@grapevines.com> wrote in message
> >> news:OO6ufLzzEHA.3408@tk2msftngp13.phx.gbl...
> >> > Hi,
> >> >
> >> > I'd like to format a hyperlink column in datagrid
> >> >
> >> > 1. Without underline, and
> >> > 2. Change color on mouseover
> >> >
> >> > Are there any format settings for that or is code required.
> >> >
> >> > If code is required, can you refer me to some examples?
> >> >
> >> > Thanks.
> >> >
> >> > Alan
> >> >
> >> >
> >>
> >
> >
>