Re: HTML_Table
| From: | Klaus Guenther | Date: | Mon, 08 Aug 2005 20:11:18 +0000 |
| Subject: | Re: HTML_Table | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-20327@lists.php.net to get a copy of this message | ||
On 8/8/2005 10:03 PM, Noel spake the following words:
> Hi,
>
> Thanks to Julien Tschappat for answering my question on hierselect! :)
>
> I have a question regarding HTML Table:
> <code>$table->setColAttributes(2,"width='450'
> nowrap",false);</code>
>
> This creates the HTML:
> <code><td width="450" nowrap="nowrap">Current
> Status</td></code>
>
> ... which is not useful, as most browsers would expect to see this:
> <code><td width="450" nowrap>Current Status</td></code>
>
>
>
> Is there any way of getting HTML_Table to output the 'nowrap' attribute
> correctly without modifying the pear class?
This isn't a bug. It's correct XHTML and shouldn't cause problems in
older browsers.
Regards,
Klaus