Log In · Register

 
Div Font Colors
ShizukaHio
post 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.
 
 
Start new topic
Replies
ShizukaHio
post 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.
 

Posts in this topic


Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: