sclebo05
10-06-2003, 08:18 PM
simple question. i am tired of doing long font tags over and over, so i want to use a simple CSS to make my formatting happen. i can't get my external CSS to work. i will post what i am doing below, in a summarized way:
in the <head> of the HTML document:
<link rel="stylesheet" type="text/css" href="fonts.css">
in the body of the HTML document:
<p class=dog>This is some text</p>
in the the file fonts.css:
P.dog {color: red}
that and only that.
the paragraph part works, but not the coloration. thi is the same if i try to bold the text or anything else. what am i missing? i wrote a more involved class, but it didn't work so i worked backwards to only changing color, and it still doesn't work. i open the file locally with Firebird, and the Quanta built in viewer, and i get nothing. i am not uploading the files to a server, but from what i understand that isn't the problem.
in the <head> of the HTML document:
<link rel="stylesheet" type="text/css" href="fonts.css">
in the body of the HTML document:
<p class=dog>This is some text</p>
in the the file fonts.css:
P.dog {color: red}
that and only that.
the paragraph part works, but not the coloration. thi is the same if i try to bold the text or anything else. what am i missing? i wrote a more involved class, but it didn't work so i worked backwards to only changing color, and it still doesn't work. i open the file locally with Firebird, and the Quanta built in viewer, and i get nothing. i am not uploading the files to a server, but from what i understand that isn't the problem.