This is how my current document reads, and I have a file blah.css.
Unfortunately, this doesn't work. I think the problem is with the .css file,
as I don't actually know how to construct one.
Could anyone please tell me the syntax for an external style sheet.
Jon Perry
pe...@globalnet.co.uk
Take a look at http://www.css.nu/includes/index.html The examples are
external stylesheets, if you have problems after that, repost.
--------== Posted Anonymously via Newsfeeds.Com ==-------
Featuring the worlds only Anonymous Usenet Server
-----------== http://www.newsfeeds.com ==----------
Do you know the structure of a .css file?
Jon Perry
pe...@globalnet.co.uk
My external css file is here:
BODY { font-family: Tresbuchet MS, Arial, Helvetica; color: black;
font-size:10 pt;}
H1, H2, H3, H4, H5, H6 { font-family: Tresbuchet MS, Arial, Helvetica;
font-style: bold; color: yellow; }
P { font-family: Vedrana, Arial, Helvetica; font-size: 10 pt;
font-color: white; }
BR, UL, OL, TD, LI { font-family: Tresbuchet MS, Arial, Helvetica;
color: white; font-size: 10 pt; }
HR { color: white; width:100% align:center; }
SMALL { font-family: Arial, Helvetica; }
A { font-family:Tresbuchet MS, Arial, Helvetica ; font-style: bold;
text-decoration:none}
A:link { font-family: Tresbuchet MS, Arial, Helvetica; font-style:
bold; color: red; }
A:visited { font-family: Tresbuchet MS, Arial, Helvetica; font-style:
bold; color: red; }
A:active { font-family: Arial, Helvetica; font-style: italic; color:
red; }
a:hover {color: white; text-decoration:underline font-family: Arial,
Helvetica; font-style: bold;}
Thank you. Very informative.
The example I tried, and failed with, was to define an ECSS with classes,
e.g.
.wood { color : brown }
.title { color : red;font-size:18pt;text-decoration:underline}
etc...
When I linked this file to any HTML document, nothing happened.
Could have been a slip somewhere else though.......
Jon Perry