How do you have different font colors on a DIV layout?, I have a div, and I want some text purple and some text blue. |
How do you have different font colors on a DIV layout?, I have a div, and I want some text purple and some text blue. |
Aug 20 2008, 01:09 PM
Post
#1
|
|
|
Newbie ![]() Group: Member Posts: 5 Joined: May 2008 Member No: 652,386 |
I just made a DIV layout, and I don't know how to make some of the font blue and some of the font purple.
I've tried CODE <div class="box" style="position: absolute; left:660px; top:220px; width:287px; height:14px; overflow: auto;"> text. </font> </div> and CODE <font color=000000> text here. </font> But neither work. The only way I can change the font is in the code where it shows this: CODE textarea {width:375px; height:35px;} textarea, .text, td, font, a, body, table, td, li, p, div, br {color:592FFF; font-size:9px; font-family: verdana;} a:link, a:visited { color: 0072CF; font-size: 9px; text-transform: lowercase; font-family: century gothic; position: fixed;} a:hover {font-size: 9px; font-family: tahoma; color: 1F9AFF;} ^ Stuff like that. But that changes everything. How do I get some of my text on the DIV one color, and the other another color [regular text, not links or whatever.] Thanks.
Reason for edit: Codebox tags. - Cristy
|
|
|
|
Kirikireii How do you have different font colors on a DIV layout? Aug 20 2008, 01:09 PM
Da1nonlyjon try,
CODE<div class="box" style="p... Aug 20 2008, 01:17 PM
fixtatik QUOTE(Da1nonlyjon @ Aug 20 2008, 02:17 PM... Aug 21 2008, 12:07 PM
SkyliteX CODE
<div class="box" style="pos... Aug 20 2008, 06:24 PM
Da1nonlyjon QUOTE(REPLY TO SkyliteX @ Aug 20 2008, 04... Aug 20 2008, 08:30 PM
SkyliteX QUOTE(Da1nonlyjon @ Aug 20 2008, 08:30 PM... Aug 21 2008, 12:10 PM
Da1nonlyjon that was a mistake.. i was typing too fast.. Aug 21 2008, 02:00 PM![]() ![]() |