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 3 of 3
  1. #1
    New Coder
    Join Date
    Sep 2002
    Location
    Charlotte
    Posts
    60
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Adding multiple Style Sheet Classes

    Would anyone know who to add all these classes to a hyperlink?

    .ms-phnav1wrapper {
    WIDTH: 100%;
    border-top: 1px Black solid;
    background-color: Black;
    BACKGROUND-REPEAT: repeat-x;
    }

    .ms-phnavtableone
    {
    padding-top: 3px;
    padding-right: 4px;
    padding-bottom: 5px;
    padding-left: 4px;
    }

    .ms-phnavtableone a
    {
    font-family: Tahoma;
    font-size: 70%;
    font-style: normal;
    font-weight: bold;
    color: WhiteSmoke;
    text-decoration: none;
    }
    .ms-phnavtableone a:hover
    {
    text-decoration:underline;
    }

    .ms-phnavmidc1, .ms-phnavmidc0
    {
    padding-top: 1px;
    padding-right: 8px;
    padding-bottom:2px;
    padding-left: 8px;
    }

    .ms-phnavmidc1sel, .ms-phnavmidc0sel
    {
    padding-top: 1px;
    padding-right: 8px;
    padding-bottom:2px;
    padding-left: 8px;
    background-color:WhiteSmoke;
    background-image: url(/_layouts/images/navgradp.gif);
    background-repeat: repeat-x;
    BORDER-top: WhiteSmoke 1px solid;
    BORDER-left: WhiteSmoke 1px solid;
    BORDER-bottom: WhiteSmoke 1px solid;
    BORDER-right: WhiteSmoke 1px solid;
    }

    .ms-phnavmidc1sel a,.ms-phnavmidc0sel a
    {
    font-family: Tahoma;
    font-size: 70%;
    font-style: normal;
    font-weight: bold;
    color: Black;
    text-decoration: none;
    }

  • #2
    Regular Coder
    Join Date
    Jun 2002
    Location
    Sheffield, UK
    Posts
    552
    Thanks
    0
    Thanked 0 Times in 0 Posts
    multiple classes are assigned uing the class attribute with spaces to spearate the classes, eg:

    <a class="classone classtwo anotherclass">link</a>

    hope that helps.
    "To be successful in IT you don't need to know everything - just where to find it in under 30 seconds"

    (Me Me Me Me Me Me Me Me Me)

  • #3
    New Coder
    Join Date
    Sep 2002
    Location
    Charlotte
    Posts
    60
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Thumbs up Thanks.....that should do it!

    Worked fine.


  •  

    Posting Permissions

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