Re: New to PHP question

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

 



Boyd, Todd M. wrote:
>> -----Original Message-----
>> From: Stephen [mailto:stephen-d@xxxxxxxxxx]
>> Sent: Wednesday, January 28, 2009 1:41 PM
>> To: Paul M Foster
>> Cc: php-general@xxxxxxxxxxxxx
>> Subject: Re:  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

-- 
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