Re: New to PHP question
| From: | Shawn McKenzie | Date: | Wed, 28 Jan 2009 22:15:03 +0000 |
| Subject: | Re: New to PHP question | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-287327@lists.php.net to get a copy of this message | ||
Boyd, Todd M. wrote:
>> -----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
Or firefox for that matter. I tried to do a completely css site and
when I got it looking great in ff/linux, it looked horrible in IE. Then
when it looked better in IE and better in ff/linux, it had some issues
iin ff/windows. I love tables and will use them for most layouts until
they are removed from (x)html :-)
-Shawn
--
Thanks!
-Shawn
http://www.spidean.com