English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

2007-02-08 05:38:20 · 3 answers · asked by baran_pb 1 in Computers & Internet Programming & Design

3 answers

You cannot assign two classes to a single tag. You will have to find another way to get the effect you want, for example, nesting tags with different classes.

2007-02-08 05:57:53 · answer #1 · answered by computerguy103 6 · 0 0

You have to hand code the 2 classes and give them separate names, then you can call upon each one separately.

2007-02-08 05:46:10 · answer #2 · answered by Anonymous · 0 0

You can use class="" right away put class="" If there is an
overlap then the last is used.
There is a lot of css on the page you are view now.
an example in the css:
.pipeinactive {
border-right: 0px solid #ff0000;border-left: 0px solid #ff0000;
border-top: 0px solid #ff0000;border-bottom: 0px solid #ff0000;
padding: 1px 1px 1px 1px;
text-decoration: none;
background-color: #cc99ff;
color: #000000;
font-family: verdana,ARIAL;
font-size: 6 pt;
text-align: center;
}

.dpipwinactive:hover {
background-color: #E21733;
}
.form1left{
border-right: 0px solid #1DAD85;border-left: 1px solid #1DAD85;
border-top: 1px solid #1DAD85;border-bottom: 1px solid #1DAD85;
padding: 1px 1px 1px 1px;
text-decoration: none;
background-color: #CCFFCC;
color: #000000;
font-family: verdana,ARIAL;
font-size: 8 pt;
text-align: left;
line-height: 14pt
}
.form1right{
border-right: 1px solid #1DAD85;border-left: 0px solid #1DAD85;
border-top: 1px solid #1DAD85;border-bottom: 1px solid #1DAD85;
padding: 1px 1px 1px 1px;
text-decoration: none;
background-color: #CCFFCC;
color: #000000;
font-family: verdana,ARIAL;
font-size: 8 pt;
text-align: left;
}
Then I select class="what i want" form1left, form2left, pipeinactive
Then if I want to override something I can add Style="what I want different"
The words on the left side of the form line height need to be seperated more then the form box on the right.
You may also notice that form1left there is no line on the right and form1right is missing on the left.

2007-02-08 05:49:20 · answer #3 · answered by rob u 5 · 0 0

fedest.com, questions and answers