Re: [PHP] Text Color

2008-03-04 Thread tedd
At 10:44 AM -0500 2/29/08, Daniel Brown wrote: On Fri, Feb 29, 2008 at 10:29 AM, Andrew Ballard <[EMAIL PROTECTED]> wrote: On Fri, Feb 29, 2008 at 10:21 AM, Jason Pruim <[EMAIL PROTECTED]> wrote: > > .red { > color: red; > } > Let's just get all purist a

Re: [PHP] Text Color

2008-03-04 Thread tedd
At 10:29 AM -0500 2/29/08, Andrew Ballard wrote: Let's just get all purist and go back to the class="highlight" so we don't find ourselves a year later with a stylesheet that includes .red { color: green; } That's much less likely than: .thisIsFridaysColor { color: green; } The

Re: [PHP] Text Color

2008-03-04 Thread tedd
At 10:21 AM -0500 2/29/08, Jason Pruim wrote: On Feb 29, 2008, at 10:07 AM, Richard Heyes wrote: echo "".$myrow["char_name"]."".$myrow["char_level"]."".$class["class"]."".$myrow["kara"]."".$myrow["karateam"]."".$myrow["karasub"]; Either CSS styling or the dreaded HTML "".$myrow['char_name']

Re: [PHP] Text Color

2008-03-04 Thread tedd
"".$myrow["char_name"]."".$myrow["char_level"]."".$class["class"]."".$myrow["kara"]."".$myrow["karateam"]."".$myrow["karasub"]; Either CSS styling or the dreaded HTML "".$myrow['char_name']."" tags. But you should use CSS: echo '' ... Everyone: Arr. PHP echo ''; CSS .red {

Re: [PHP] Text Color

2008-02-29 Thread Jason Pruim
On Feb 29, 2008, at 10:44 AM, Daniel Brown wrote: On Fri, Feb 29, 2008 at 10:29 AM, Andrew Ballard <[EMAIL PROTECTED]> wrote: On Fri, Feb 29, 2008 at 10:21 AM, Jason Pruim <[EMAIL PROTECTED]> wrote: .red { color: red; } Let's just get all purist and go back to the c

Re: [PHP] Text Color

2008-02-29 Thread Daniel Brown
On Fri, Feb 29, 2008 at 10:29 AM, Andrew Ballard <[EMAIL PROTECTED]> wrote: > On Fri, Feb 29, 2008 at 10:21 AM, Jason Pruim <[EMAIL PROTECTED]> wrote: > > > > .red { > > color: red; > > } > > > > Let's just get all purist and go back to the class="highlight" so we

Re: [PHP] Text Color

2008-02-29 Thread Andrew Ballard
On Fri, Feb 29, 2008 at 10:21 AM, Jason Pruim <[EMAIL PROTECTED]> wrote: > > On Feb 29, 2008, at 10:07 AM, Richard Heyes wrote: > > >>> echo > >>> "".$myrow["char_name"]."".$myrow["char_level"]."". > >>> $class["class"]."".$myrow["kara"]."". > >>> $myrow["karateam"]."".$myrow["karasub"]; > >>

Re: [PHP] Text Color

2008-02-29 Thread Jason Pruim
On Feb 29, 2008, at 10:07 AM, Richard Heyes wrote: echo "".$myrow["char_name"]."".$myrow["char_level"]."". $class["class"]."".$myrow["kara"]."". $myrow["karateam"]."".$myrow["karasub"]; Either CSS styling or the dreaded HTML "".$myrow['char_name']."" tags. But you should use CSS: echo

Re: [PHP] Text Color

2008-02-29 Thread Richard Heyes
echo "".$myrow["char_name"]."".$myrow["char_level"]."".$class["class"]."".$myrow["kara"]."".$myrow["karateam"]."".$myrow["karasub"]; Either CSS styling or the dreaded HTML "".$myrow['char_name']."" tags. But you should use CSS: echo '' ... -- Richard Heyes Employ me: http://www.phpgu

Re: [PHP] Text Color

2008-02-29 Thread Daniel Brown
On Thu, Feb 28, 2008 at 11:03 PM, Jeff <[EMAIL PROTECTED]> wrote: > Please, can anyone tell me how to produce colored text? For instance if I > wanted to following code to be printed as red text what would I need to add > to they code? Thanks in advance. > > echo > > "".$myrow["char_name"]."".

Re: [PHP] Text Color

2008-02-28 Thread Jim Lucas
Jeff wrote: Please, can anyone tell me how to produce colored text? For instance if I wanted to following code to be printed as red text what would I need to add to they code? Thanks in advance. echo "".$myrow["char_name"]."".$myrow["char_level"]."".$class["class"]."".$myrow["kara"]."".$myrow

[PHP] Text Color

2008-02-28 Thread Jeff
Please, can anyone tell me how to produce colored text? For instance if I wanted to following code to be printed as red text what would I need to add to they code? Thanks in advance. echo "".$myrow["char_name"]."".$myrow["char_level"]."".$class["class"]."".$myrow["kara"]."".$myrow["karateam"]."

Re: [PHP] text color in image

2003-02-03 Thread R'twick Niceorgaw
ssage - From: "Brian V Bonini" <[EMAIL PROTECTED]> To: "PHP Lists" <[EMAIL PROTECTED]> Sent: Monday, February 03, 2003 1:42 PM Subject: [PHP] text color in image > Any idea why this would NOT create white text? > > $png = ImageCreatefrompng("images

[PHP] text color in image

2003-02-03 Thread Brian V Bonini
Any idea why this would NOT create white text? $png = ImageCreatefrompng("images/menu0.png"); $tx_color = ImageColorAllocate($png,255,255,255); imagettftext($png,12,0,25,16,$tx_color,$font,$text); There IS white (255,255,255) in the source png's palette, I don't know weather that makes a differe