asp.net table row on hover highlight(CSS)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • truezplaya
    New Member
    • Jul 2007
    • 115

    asp.net table row on hover highlight(CSS)

    Hey all
    Just breaking in to some asp.net so sorry if this is a silly question

    i have an asp:table with asp:tablerows and asp:table cells.

    When i hover over my links only the links are highlighted and i gather this is because i can't put my CSS class in the asp:tablerow. Has anyone got a way around this?

    I'm not sure if i have put this in the correct forum

    Cheers in advanced

    Truez
  • truezplaya
    New Member
    • Jul 2007
    • 115

    #2
    I managed to solve it, Instead of trying to highlight the table row i have inserted a button that fills that row and put my css class on that. woooooo

    Comment

    • bhupinder
      New Member
      • Feb 2009
      • 32

      #3
      asp.net table row on hover highlight(CSS)

      Originally posted by truezplaya
      Hey all
      Just breaking in to some asp.net so sorry if this is a silly question

      i have an asp:table with asp:tablerows and asp:table cells.

      When i hover over my links only the links are highlighted and i gather this is because i can't put my CSS class in the asp:tablerow. Has anyone got a way around this?

      I'm not sure if i have put this in the correct forum

      Cheers in advanced

      Truez

      If you want to only link highlighted then this css used , you also used this css for
      table row , you have to only change the name of css that table name


      a.linkbtn
      {

      color:#1550AB;

      }
      a:hover.linkbtn
      {
      text-decoration: underline;
      color:black;

      }

      Comment

      Working...