Log In · Register

 
 
Closed TopicStart new topic
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.
 
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.
 
ShizukaHio
post Feb 25 2009, 03:03 AM
Post #3


Member
**

Group: Member
Posts: 28
Joined: Jan 2009
Member No: 708,903



well no I haven't, didn't even think of that. Okay I'm going to try that and thank you but in the meantime, do you know anything about doing the comment boxes? I can't figure out how to do that either.
 
ShizukaHio
post Feb 25 2009, 03:10 AM
Post #4


Member
**

Group: Member
Posts: 28
Joined: Jan 2009
Member No: 708,903



Eh...heh...it worked....wow I feel stupid, lol. Um thank you so much for your help, now I just gotta do the comment box, thank you for the code, I think I can handle that on my own. I really appreciate it, again thank you.
 
Mickey
post Feb 25 2009, 09:10 AM
Post #5


Treasure Pleasure
********

Group: Head Staff
Posts: 11,193
Joined: Oct 2005
Member No: 281,127



Topic closed & moved.
 

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