Re: Stuffing code into variable

From: Date: Sun, 04 Feb 2007 06:28:12 +0000
Subject: Re: Stuffing code into variable
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-248273@lists.php.net to get a copy of this message
On Feb 3, 2007, at 10:04 PM, Paul Novitski wrote:
By the way, if every cell in every row is class "tabletext" why have a class at all? You could simply apply the desired styles to the td element.
At 2/3/2007 10:05 PM, Albert Padley wrote:
As far as the CSS on the <td>, other cells in the table have different styling.
If all the cells in a row are styled the same, consider applying the style to the row itself: <tr class="tabletext">
        <td>{$sqlrow['time']}</td>
        <td>{$sqlrow['field']}</td>
        <td>{$sqlrow['division']}</td>
</tr> Paul

« previous php.general (#248273) next »