Information Systems College of Business Administration University of Missouri - St. Louis

Cascading Style Sheets

Consider some of those that might make your pages look different than others. For example, background color. Suppose you want all examples of <H1> to have a particular background. You might use the following code:

<STYLE TYPE="text/css">
<!--
H1, H2, H3, H4, H5, H6 {font-family:"Arial"}
H1 {color:white; background-color:purple}
-->
</STYLE>

Then, every time you use

Heading Size, <H1>,

you get white font on a purple background. Look at this example.
| Go to UM-St. Louis Home Page | College of Business Page | IS Home Page | Resource Page |



Page Owner: Professor Sauter (Vicki.Sauter@umsl.edu)