Re: PEAR HTML_TABLE package question

From: Date: Fri, 17 Oct 2003 15:20:12 +0000
Subject: Re: PEAR HTML_TABLE package question
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-8477@lists.php.net to get a copy of this message
<groet@yahoo.com> wrote : > Hi, > > Does anyone know how to chang the font size in a table > ? I mean using HTML_TABLE package. > > I can change the backgroup color and alignment: > $css_table_row1 = array("bgcolor=lightgreen > align=left"); > > But I can't change the font size used in the table. > I tried font=12 but its not working. > > Anyone can help ? Thanks in advance ! Where have you seen that you could change the font size of text in a cell (td) by adding a font attribute to it ? I suggest you read some docs about html and css first. Using class=mysmallfont could do it but you would need to define a css for your page, and that's another story. Bertrand Mansion Mamasam

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