RE: [PHP] New to PHP question
| From: | Boyd, Todd M. | Date: | Wed, 28 Jan 2009 22:05:52 +0000 |
| Subject: | RE: [PHP] New to PHP question | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-287325@lists.php.net to get a copy of this message | ||
> -----Original Message-----
> From: Stephen [mailto:stephen-d@rogers.com]
> Sent: Wednesday, January 28, 2009 1:41 PM
> To: Paul M Foster
> Cc: php-general@lists.php.net
> Subject: Re: [PHP] New to PHP question
>
> Paul M Foster wrote:
> > If you want exact layout (columns
> > lined up, etc.), the simplest solution is to use HTML tables.
> >
> >
> >
> The horror.
>
> Do not use tables for layout.
>
> Use CSS.
>
> Especially now that Microsoft, just this week, is sending out IE 8
> which
> seems to be fully CCS standards compliant.
Your high horse--get off of it.
Are you not familiar with "div-itis"? If I need to represent data in a
grid-style layout, I am going to use a <table> every time instead of
making tons of <div> elements and tying them into the appropriate CSS.
http://www.giveupandusetables.com
Also... as far as I know, XHTML 1.0 Strict and XHTML 1.1 still include
the <table> tags. I can understand wanting to separate style from
structure, but I think that tables are more structural than stylish. You
have to draw the line somewhere.
If you're displaying tabular data, use a table. If you just want stuff
to be in a grid and the structure has no bearing on the content, then
it's time to weigh in.
Finally, just because IE8 is (supposed to be) fully CSS standards
compliant doesn't mean anything for IE7, IE6, IE5, etc.
// Todd