Stylesheets do use plain text format, not some bizarre word processor
encoding (as you imagine). Complications occasionally arise because
different platforms encode new lines in text files differently.
For example, for a newline UNIX writes just a line feed (LF) control
character, Mac writes a carriage return (CR) control character, and DOS
writes both CR & LF control characters.
The effect you see in Notepad, where all the text is in one long
wrapped line, with little box characters in between, is because the
newlines are encoded differently from how Notepad expects. Perhaps
"style.css" was authored on another platform?
Notepad is primative.
Wordpad's a bit smarter with newline handling.
You can use Wordpad to view & edit the file, providing you save the
file as text.
Tasman
Rich wrote:
Is the link rel="stylesheet" supposed to be real plain text,
or would some word processor format such as Word/Pad work?
This sample stylesheet seems garbled if downloaded and
opened with Notepad, but seems to view right in browser.
Could this be a problem, or cause slow loading when applied?
A link for this sample "style.css" is on
http://users.ntplx.net/~richw/
Thanks for any advice, Rich