Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

External CSS files

0 views
Skip to first unread message

Jon Perry

unread,
Jul 1, 1999, 3:00:00 AM7/1/99
to
I am trying to link a Web Site to a style sheet, hopefully using :
<link rel="stylesheet" href="blah.css" type="text/css>

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

Anonymous

unread,
Jul 2, 1999, 3:00:00 AM7/2/99
to

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 ==----------

Jon Perry

unread,
Jul 2, 1999, 3:00:00 AM7/2/99
to
Thanks for the site, but I can't decode the .css files, as they are
corrupted when I read them in Windows 95 Notepad.

Do you know the structure of a .css file?

Jon Perry
pe...@globalnet.co.uk

Anonymous

unread,
Jul 2, 1999, 3:00:00 AM7/2/99
to

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;}

ScottM6146

unread,
Jul 3, 1999, 3:00:00 AM7/3/99
to

Jon Perry

unread,
Jul 4, 1999, 3:00:00 AM7/4/99
to

ScottM6146 wrote in message
<19990703084628...@ng-fy1.aol.com>...
>try:
>http://www.htmlhelp.com/reference/css/style-html.html

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

0 new messages