VaxoP Posted May 3, 2003 Share Posted May 3, 2003 } .option { FONT-WEIGHT: bold; FONT-SIZE: 12px; BACKGROUND: none transparent scroll repeat 0% 0%; COLOR: #000000; FONT-FAMILY: Verdana, Helvetica; TEXT-DECORATION: none } .tiny { FONT-WEIGHT: normal; FONT-SIZE: 10px; BACKGROUND: none transparent scroll repeat 0% 0%; COLOR: #000000; FONT-FAMILY: Verdana, Helvetica; TEXT-DECORATION: none } how can i switch between the 2 styles in a css script? what do i put in the html to make one appear as .option, and other as .tiny? Link to comment Share on other sites More sharing options...
0 nXP_151 Veteran Posted May 3, 2003 Veteran Share Posted May 3, 2003 Moved to Web Programming forum. Link to comment Share on other sites More sharing options...
0 Flip_Kid Posted May 3, 2003 Share Posted May 3, 2003 <span class="option">This is in OPTION... you could also use div, p, or some other elements that encompass text.</span> <span class="tiny">This is in TINY </span> Link to comment Share on other sites More sharing options...
Question
VaxoP
}
.option {
FONT-WEIGHT: bold; FONT-SIZE: 12px; BACKGROUND: none transparent scroll repeat 0% 0%; COLOR: #000000; FONT-FAMILY: Verdana, Helvetica; TEXT-DECORATION: none
}
.tiny {
FONT-WEIGHT: normal; FONT-SIZE: 10px; BACKGROUND: none transparent scroll repeat 0% 0%; COLOR: #000000; FONT-FAMILY: Verdana, Helvetica; TEXT-DECORATION: none
}
how can i switch between the 2 styles in a css script? what do i put in the html to make one appear as .option, and other as .tiny?
Link to comment
Share on other sites
2 answers to this question
Recommended Posts