Div Font Colors |
Div Font Colors |
![]()
Post
#1
|
|
Member ![]() ![]() Group: Member Posts: 28 Joined: Jan 2009 Member No: 708,903 ![]() |
On a div layout, how do you get the font in the body to be different than the font color of the header? I keep using the codes I learned from the tutorial and the first topic I posted but no matter what I try, the font colors for both end up being the same.
Its the same when I try to do the writing style as well. |
|
|
![]() |
![]()
Post
#2
|
|
Member ![]() ![]() Group: Member Posts: 28 Joined: Jan 2009 Member No: 708,903 ![]() |
This is the code I'm using for the header:
CODE <style> .header {border:2px solid; border-color:violet; background-color:darkorchid; border: 3px solid; border-color:purple; margin:3px; font-size:20px; line-height:24px;} </style> I'm not sure what I'm doing wrong in it since I can change the size and it doesn't affect the main text, but I can't change the color of it at all. |
|
|
![]() ![]() |