Common Style Sheet Properties

  • style sheet properties applied to multiple HTML tags <STYLE> BODY, DIV, TD { font-family:arial; font-size: 9pt; font-weight: bold; color: red; background-color:#ffffff text-align:center; line-height:220%; } </STYLE>
  • style sheet properties applied to single HTML tag <STYLE> A:link { color:#343434; font-size:9pt; text-decoration:none; } A:visited { color:#343434; font-size:9pt; text-decoration:none; } A:hover { color:#000000; font-size:9pt; text-decoration:underline;} </STYLE>
  • style sheet properties applied to a specific ID <STYLE> .MainTitle { font-size:14pt; } .spanstyle { font: 12pt verdana; font-weight:700; color:orange; } .buttonstyle { font: 8pt verdana; background-color:lightgreen; border-color:black; width:100 } .inputstyle { font: 14pt verdana; background-color:yellow; border-style:dashed; border-color:red; width:300; } .selectstyle { font: 14pt verdana; background-color:lightblue; color:purple; } .radiostyle { width:50; background-color:red; zoom:200% } </STYLE>
    Hosted by www.Geocities.ws

    1