[WEB4LIB] WEB Query: Styles
Michael Sauers
msauers at bcr.org
Thu Jun 8 16:31:08 EDT 2000
> Is there away to use "style" sheets to affect the presentation of the
> content is controlled by style?
I did this just to try:
<style>
<!--
.red {background: red}
.green {background: green}
.font {font-family: courier}
.size {font-size: 8pt}
.blue {color: blue}
-->
</style>
<body>
<form>
<SELECT NAME="Terms" MULTIPLE SIZE="6">
<OPTION class="red"
VALUE="A-&-A-INTERNATIONAL-INDUSTRIES-INC">A-&-A-INTERNATIONAL-INDUSTRIES-IN
C</OPTION>
<OPTION class="green"
VALUE="A-CONSULTING-TEAM-INC-THE">A-CONSULTING-TEAM-INC-THE</OPTION>
<OPTION class="font"
VALUE="AAMES-FINANCIAL-CORP">AAMES-FINANCIAL-CORP</OPTION>
<OPTION class="size" VALUE="AAON-INC">AAON-INC</OPTION>
<OPTION class="blue" VALUE="AAR-CORP">AAR-CORP</OPTION>
</select>
</form>
The red, green and blue classes worked just fine. The font and size classes
didn't. I'm using IE 5.5 beta.
---------------------------------------------------------------------
Michael Sauers, Internet Trainer
Bibliographical Center for Research (BCR)
Aurora, CO :: msauers at bcr.org :: http://www.bcr.org/~msauers/
The WWW Library Directory is @ http://www.webpan.com/msauers/libdir/
Buy books, music or videos? http://www.evenbetter.com/?partner=1307
Opinions expressed are my own unless otherwise noted.
---------------------------------------------------------------------
More information about the Web4lib
mailing list