Div Font Colors |
Div Font Colors |
Feb 25 2009, 02:14 AM
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. |
|
|
|
![]() |
Feb 25 2009, 02:53 AM
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. |
|
|
|
ShizukaHio Div Font Colors Feb 25 2009, 02:14 AM
ShizukaHio well no I haven't, didn't even think of th... Feb 25 2009, 03:03 AM
ShizukaHio Eh...heh...it worked....wow I feel stupid, lol. Um... Feb 25 2009, 03:10 AM
Mike Topic closed & moved. Feb 25 2009, 09:10 AM![]() ![]() |