+ 7
how to change Font-color in CSS?
I wrote this code in CSS to make the whole body in one style : body { background-color:#333333; font-size:24px; font-family:Times New Roman; font-style:italic ; font-color:#FFFFFF; } everything is ok but the font color still in the default color "black".
6 Respuestas
+ 11
replace font-color with color.
color is the attribute you are looking for.
+ 8
Thank you it changed now :)
+ 8
checked 👍
+ 7
Thank you.
+ 6
It will be " color:blue; " not font-color.
"color:#123456" "color:rgb(1,2,3);"
+ 1
do this background:#333; color:#fff;