Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Help with css in anchor tags

Help with css in anchor tags

Scheduled Pinned Locked Moved ASP.NET
questioncsshelp
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    anu81
    wrote on last edited by
    #1

    hi all, I have a link like this Edit/ in the css class link a.link { color:#999999; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 11px; font-weight: bold; text-decoration: none; } a.link:visited { color:red; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 11px; font-weight: bold; text-decoration: none; } a.link:hover { color:#996600; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 11px; font-weight: bold; text-decoration: none; } i have written the above css. now if i execute my application, the edit text is displayed in visited link color(red) even before it is visited. How can i differentiate between visited and unvisited links by color? Thanks in advance.:) Regards Anuradha

    I 1 Reply Last reply
    0
    • A anu81

      hi all, I have a link like this Edit/ in the css class link a.link { color:#999999; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 11px; font-weight: bold; text-decoration: none; } a.link:visited { color:red; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 11px; font-weight: bold; text-decoration: none; } a.link:hover { color:#996600; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 11px; font-weight: bold; text-decoration: none; } i have written the above css. now if i execute my application, the edit text is displayed in visited link color(red) even before it is visited. How can i differentiate between visited and unvisited links by color? Thanks in advance.:) Regards Anuradha

      I Offline
      I Offline
      InsDev
      wrote on last edited by
      #2

      Just call link.visited on click of link. Devjit Das

      A 1 Reply Last reply
      0
      • I InsDev

        Just call link.visited on click of link. Devjit Das

        A Offline
        A Offline
        anu81
        wrote on last edited by
        #3

        hi, Thanks for the reply. but by default, the visited link color (red) is only displayed. If i dont give the css for visited, the link color is displayed. Also in the set_values function, i am submitting the form again for some manipulation. Hope i am clear in my explanation.

        Thanks in advance.:) Regards Anuradha

        I 1 Reply Last reply
        0
        • A anu81

          hi, Thanks for the reply. but by default, the visited link color (red) is only displayed. If i dont give the css for visited, the link color is displayed. Also in the set_values function, i am submitting the form again for some manipulation. Hope i am clear in my explanation.

          Thanks in advance.:) Regards Anuradha

          I Offline
          I Offline
          InsDev
          wrote on last edited by
          #4

          just to view in source code and see which css tag is associated with class and change according u like. Devjit Das

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups