|
CSS
Tips
Cascading Style Sheets (CSS) includes CSS1 (12/1996) and CSS2 (5/1998). The good
news is both IE(>4.0) and NN(>4.0) support CSS. CSS is used to complementary of
HTML. Combine JavaScript/VBScript with CSS, you can make dynamic Web pages easily.
You can find the latest information about CSS at W3C,
which was founded by , Tim Berners-Lee
, inventor of the Web.
Articles
"Using XSL and CSS together"
Useful Web Sites
Lots of CSS tutorials are available on line. A site for the novice.
My Useful Tutorial
<style type="text/css">
<!--
h1 {font-size: 11pt; color: #888888;} /* label selector */
.cs {font-size: 11pt; color: #ff0000;} /* class selector */
h1.yellow {color: yellow} /* label.class selector */
#idselector {color:blue} /* ID selector */
-->
</style>
</head>
<body>
<h1>This is label selector.</h1><br>
<p class="cs">This is class selector.</p>
<h1 class="yellow">This is lable class selector.</h1>
<p id="idselector">This is ID selector.</p>
</body>
</html>
The result is shown below:
This is label selector.
This is class selector.
This is lable class selector.
This is ID selector.
|