...

View Full Version : Adding multiple Style Sheet Classes



dan18088
01-11-2004, 04:58 PM
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;
}

ReadMe.txt
01-11-2004, 05:02 PM
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.

dan18088
01-11-2004, 05:57 PM
Worked fine.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum