Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2

Thread: CSS Menu

  1. #1
    Regular Coder
    Join Date
    Jan 2010
    Posts
    153
    Thanks
    53
    Thanked 0 Times in 0 Posts

    CSS Menu

    Does anyone know what this CSS code means?
    Code:
    .about #menu_primary ul li.menu_about a {
      background: #356751;
      border: 1px solid #356751;
      color: #fff;
    }

    Here's the html code for the button:
    Code:
    <li class="menu_about"><a href="/about">About</a></li>
    Someone please help. Thanks.

  • #2
    Regular Coder optimus203's Avatar
    Join Date
    Sep 2008
    Location
    CT
    Posts
    317
    Thanks
    22
    Thanked 16 Times in 15 Posts
    It add the attributes outlined in the CSS code to the anchor link (background color, border size - type - color, and color of text between a tags).

    What do you want to do/change?
    Always thank those CF Users who help you solve issues...
    Connecticut Web Design


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •