Re: Stuffing code into variable

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux