Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 01-11-2004, 04:58 PM   PM User | #1
dan18088
New Coder

 
Join Date: Sep 2002
Location: Charlotte
Posts: 60
Thanks: 0
Thanked 0 Times in 0 Posts
dan18088 is an unknown quantity at this point
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;
}
dan18088 is offline   Reply With Quote
Old 01-11-2004, 05:02 PM   PM User | #2
ReadMe.txt
Regular Coder

 
Join Date: Jun 2002
Location: Sheffield, UK
Posts: 552
Thanks: 0
Thanked 0 Times in 0 Posts
ReadMe.txt is an unknown quantity at this point
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)
ReadMe.txt is offline   Reply With Quote
Old 01-11-2004, 05:57 PM   PM User | #3
dan18088
New Coder

 
Join Date: Sep 2002
Location: Charlotte
Posts: 60
Thanks: 0
Thanked 0 Times in 0 Posts
dan18088 is an unknown quantity at this point
Thumbs up Thanks.....that should do it!

Worked fine.
dan18088 is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 11:09 PM.


Advertisement
Log in to turn off these ads.