"Geoff Berrow" <blthecat@ckdog.co.uk> wrote in message
news:f68l50l7n2dtlbif52kq9aj99djheb7pgs@4ax.com...[color=blue]
> I noticed that Message-ID:
> <TKt6c.26031$gj2.11288@newssvr29.news.prodigy.co m> from deko contained
> the following:
>[color=green]
> >the font size declaration seems to be ignored. Is it possible to set[/color][/color]
format for[color=blue][color=green]
> >tables generated with php?
> >
> ><?php
> >
> > echo "<table border=1 font size=8>";[/color]
>
> Nothing to do with PHP. That's not valid html
>
> Use proper html markup or CSS
>[/color]
While it is startlingly off-topic, I'd prefer we point these people in the
right direction rather than chew them out.
deko, formatting HTML (see
www.w3c.org to understand why your solution
doesn't work) using raw PHP is slow at best, irritating at worst. Delegate
the presentation to something like the Smarty template library
(
http://smarty.php.net/) and use PHP's power to get the data to populate the
templates with.
HTH
Garp