You could always try to use a <dl> list and style the css so that it brings
the <dd> up to and to the right of the <dt>.  Here's some code I used to
create a memo like form, you can play around that and also add different
foreground colors to the <dt> and <dd>

dl{
        margin-left: 5em;
  }
dt{
        font-weight: bold;
}
dd{
        margin-top: -1.2em;
        margin-bottom: 1.5em;
        margin-left: 10em;
        width: 50%;
} 

-----Original Message-----
From: Adkins, Randy [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, January 25, 2006 1:05 PM
To: CF-Community
Subject: RE: Select Box (text color)?

Yeah I really did not think so, but was trying anyway to see If I was
missing something.

I think I tried this before and did not work. 
 
Besides placing the information in a GRID to get it to Be tabulated for
viewing, any other way you know to align
2 display items accordingly?

Such as:

Instead of it displaying:
N100 - WV Test Job
N5000 - JX Job Site

It can read:
N100  - WV Test Job
N5000 - JX Job Site


-----Original Message-----
From: Sandra Clark [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 25, 2006 1:02 PM
To: CF-Community
Subject: RE: Select Box (text color)?

Nope,

THe option tag does not allow other tags to be nested within it.
Therefore, you can't selectively color some words and not others within it.

Sandy Clark 

-----Original Message-----
From: Adkins, Randy [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 25, 2006 12:52 PM
To: CF-Community
Subject: Select Box (text color)?

In a Select box I am displaying 2 elements:
JOBCODE - JOBNAME
 
I want to be able to set the color for the JOBCODE to say #0066CC and the
JOBNAME to #000000
 
I tried the following but does not work:
<OPTION VALUE="#ID#"><SPAN STYLE="color:##000000">#JOBCODE#</SPAN> -
#JOBNAME#</OPTION> 
 
If I set it on the OPTION tag as a STYLE, it will color the enter contents
of the Display value. 
 
Is this even possible?
 








~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:5:194327
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/5
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:5
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.5
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to