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. Menu style

Menu style

Scheduled Pinned Locked Moved ASP.NET
csswpfarchitecture
1 Posts 1 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.
  • N Offline
    N Offline
    Nimua
    wrote on last edited by
    #1

    Hello, I have a menu element on my page, all of it items have the specified CssClass, but when I create a class for links and visited link in .css menu items also inherit these styles :( . Please tell me where I should set the font color to prevent this. My .css For menu .Menu { font-family: Arial; font-size: 14px; font-weight:bold; color: #000000; background-color: #FFFFFF; } .MenuDynamicHoverStyle { background-color: Gray; color: #FFFFFF; } .MenuDynamicMenuStyle { background-color: #FFFFFF; color: #000000; } .MenuDynamicSelectedStyle { background-color:Gray; font-family:Arial; font-weight: bold; font-size: 14px; color: #E0E0E0; } .MenuDynamicMenuItemStyle { background-color:#FAFAFA; border-color: #E0E0E0; border-width: 0.1em; border-style: solid; font-family:Arial; font-size: 12px; font-weight: bold; color: #000000; } .MenuStaticSelectedStyle { background-color: #FFFFFF; color: #FFFFFF; } .MenuStaticHoverStyle { background-color:#FFFFFF; color: #000000; } For links A:visited { color: Gray; } A:link { color: #EF3123; } Thanks.

    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