How to change color of a hyperlink column in a datagrid ???

Discussion in 'ASP .Net' started by Robbo, Oct 18, 2003.

  1. Robbo

    Robbo Guest

    Hello, I created a datagrid with a few hyperlink columns.. How do i change
    the color of the hyperlink itself? BLUE is a bit bad on my datagrid
    color scheme.

    Thanks,
    Rob
     
    Robbo, Oct 18, 2003
    #1
    1. Advertising

  2. Rob,

    You'll have to use a style sheet for that. Change the A tag in your HTML
    document or better yet in a global CSS style sheet:

    <html>
    <head>
    <style>
    A { color: LightGrey; }
    A:Visited { color: white; }
    </style>
    </head>
    <body>

    +++ Rick ---

    --

    Rick Strahl
    West Wind Technologies
    http://www.west-wind.com/
    http://www.west-wind.com/wwHelp
    ----------------------------------
    Making waves on the Web


    "Robbo" <> wrote in message
    news:...
    >
    > Hello, I created a datagrid with a few hyperlink columns.. How do i

    change
    > the color of the hyperlink itself? BLUE is a bit bad on my datagrid
    > color scheme.
    >
    > Thanks,
    > Rob
     
    Rick Strahl [MVP], Oct 18, 2003
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?V2FyYW4=?=

    HyperLink Column and Button Column in a DataGrid

    =?Utf-8?B?V2FyYW4=?=, Aug 9, 2005, in forum: ASP .Net
    Replies:
    0
    Views:
    604
    =?Utf-8?B?V2FyYW4=?=
    Aug 9, 2005
  2. =?Utf-8?B?ZGF2aWQ=?=
    Replies:
    11
    Views:
    1,013
    deandany
    Jul 17, 2006
  3. davetichenor
    Replies:
    1
    Views:
    845
    Eliyahu Goldin
    Oct 30, 2006
  4. Tabo

    color of hyperlink column of datagrid

    Tabo, Dec 4, 2003, in forum: ASP .Net Datagrid Control
    Replies:
    0
    Views:
    136
  5. Dave
    Replies:
    0
    Views:
    959
Loading...

Share This Page