[Date Prev][Date Next][Date Index]
[url] Cascading Style sheets
Creating Cascading style sheets is absolutely simple. The following
(official) specs will clear all the doubts.
http://www.w3.org/TR/REC-CSS1
I use the following for all my HTML doucments.
<PRE>
/*Style sheet information can be found at http://www.w3.org/TR/REC-CSS1*/
BODY { font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10pt; background: white; color: black; }
TD, P { font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10pt; color: black; }
a:link { text-decoration: underline; color: blue;}
a:visited { text-decoration: underline; color: violet;}
a:hover { color: red;}
PRE { color: brown; font-weight: 600; margin-top: 1em; margin-bottom:1em;}
OL { list-style: outside; margin-top: 1em; margin-bottom: 1em;list-style-type: lower-roman }
UL { list-style: outside; margin-top: 1em;margin-bottom: 1em; }
LI { margin-top: 1em; margin-bottom:1em;}
EM { color:#AB0000; font-style: normal;font-weight: 700 }
/*
Things that I would love to use in future.
UL { list-style: url(http://mia.ece.uic.edu/~papers/images/list_pointer.jpg) disc }
BODY { background-image: url(marble.gif) }
*/
</PRE>