Re: HMTL::Pager Question Not DB_Pager

From: Date: Wed, 12 Jan 2005 22:22:08 +0000
Subject: Re: HMTL::Pager Question Not DB_Pager
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-16904@lists.php.net to get a copy of this message
Jim MacDiarmid wrote:
Is it possible to change the appearance of the links using CSS? I've tried specifying a class for the table data tag on the row that my links are on, but this doesn't seem to alter the page index.
set the "linkClass" option to the wanted CSS class name. $pagerOptions = array( 'itemData' => $mydata, 'perPage' => 10, 'linkClass' => 'myFancyLinks', ); $pager =& Pager::factory($pagerOptions); =[style.css]============ .myFancyLinks { color: purple; text-decoration: none; } =[/style.css]=========== HTH -- Lorenzo Alberton http://pear.php.net/user/quipo

« previous php.pear.general (#16904) next »