Newlogo.gif (8646 bytes)CSS Classes - part 1


This version of the page contains the following Cascading Style Sheet:

<style>
DIV { background-color:cyan; border: 2px blue solid }
</style>

Which gives all DIVs in the page a cyan background and blue border. However you might not want all your DIVs to look like that, only some of them. Click here to see how rule classes let you create style variations which you can use as required, while leaving the basic style unchanged.

This text is inside a <DIV>...</DIV> container.

This text is inside another DIV


Back to Menu