...

View Full Version : CSS text inside div color help



xInfin1ty
07-15-2008, 10:44 PM
So I just want to change the color of my text inside my div how do I do that? Googled everywhere, but it only says how to change the link text etc. Help anyone?

jcdevelopment
07-15-2008, 10:52 PM
div {
color:#/*hexcode*/;
}
real world example

div {
color:#ffffff;
}

or you can do this in your html


<div style="color:#ffffff;">
</div>

xInfin1ty
07-15-2008, 11:06 PM
Thank you, works perfect now!

macwiz
07-16-2008, 05:16 AM
Just a note: CSS also supports popular colors:


div {
color:blue/red/green/ect..;
}



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum