Jump to content


Pear HTML_Table

  • Please log in to reply
No replies to this topic

#1 Beerbar

  • New Members
  • Pip
  • Newbie
  • 4 posts

Posted 13 June 2006 - 03:39 PM

OK, I know this is a silly question, but I'm a newb and can't find out how to change the font color for the headers when I am making a table with Pear HTML_TABLE. Obviously "FONT COLOR"=>"WHITE" does not work, I tried a bunch of different combos and searched for anything that looked like it may work.

This is what I have:

$header1 = array("Hits", "Name", "First", "Last");
$attributes = array("bgcolor"=>"#376589", "FONT COLOR"=>"WHITE");
$table->addRow($header1, $attributes, "TH");

Any help is appreciated.

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users