Custom CSS Output

If you need help building your website, this is the place to hang out. If you're an HTML, PHP, Perl or web database geek, check it out. / Si vous avez besoin d'aide pour construire votre site web, c'est le forum à regarder! Si vous êtes un expert en HTML, PHP, Perl ou en base de données, c'est le forum pour vous!
Post Reply
Kelly Gao
The Accomplished One / L'Accompli
Posts: 75
Joined: Tue May 05, 2009 2:50 am

Custom CSS Output

Post by Kelly Gao »

http://ccpray.hostcell.net/example.html

As you can see, I have set most of the text to red using the following CSS.

Code: Select all

b {
color: #CE2E1E;
}
body {
background-color: #D1C99D;
}
div {
color: #CE2E1E;
}
h1 {
color: #CE2E1E;
}
h2 {
color: #CE2E1E;
}
h3 {
color: #CE2E1E;
}
h4 {
color: #CE2E1E;
}
pre {
color: #CE2E1E;
}
td {
color: #CE2E1E;
}
However, the Finance and Play by Play are still in black, as I do not know how to change the color of the text; it is not wrapped by <p> and </p>, so I am having trouble using CSS to make it red. If anyone knows how to do it, I will be very grateful. Thanks in advance!
Kelly Gao
The Accomplished One / L'Accompli
Posts: 75
Joined: Tue May 05, 2009 2:50 am

Re: Custom CSS Output

Post by Kelly Gao »

Kelly Gao wrote:http://ccpray.hostcell.net/example.html

As you can see, I have set most of the text to red using the following CSS.

Code: Select all

b {
color: #CE2E1E;
}
body {
background-color: #D1C99D;
}
div {
color: #CE2E1E;
}
h1 {
color: #CE2E1E;
}
h2 {
color: #CE2E1E;
}
h3 {
color: #CE2E1E;
}
h4 {
color: #CE2E1E;
}
pre {
color: #CE2E1E;
}
td {
color: #CE2E1E;
}
However, the Finance and Play by Play are still in black, as I do not know how to change the color of the text; it is not wrapped by <p> and </p>, so I am having trouble using CSS to make it red. If anyone knows how to do it, I will be very grateful. Thanks in advance!
Never mind. I got it to work with...

Code: Select all

body {
background-color: #D1C99D;
color: #CE2E1E;
}
Post Reply