Re: <table>-less layouts; Ideas welcome

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

 



On Thu, 2009-05-21 at 09:54 -0400, tedd wrote:
> At 1:02 AM -0700 5/21/09, Jim Lucas wrote:
> >Since this has been a topic of dicussion, I figured I would add my thoughts.
> >
> >I have been toying with the idea of doing a <table>-less layouts 
> >involving tabular data, calendars, etc...
> >
> >Recent threads have finally made me do it.  Let me know what you think.
> >
> >http://www.cmsws.com/examples/templates/div_tables.php
> >http://www.cmsws.com/examples/templates/div_tables.phps (source for above)
> >http://www.cmsws.com/examples/templates/div_cal.php
> 
> Any source for the above?  :-)
> 
> Your work, as always, is top-notch.
> 
> I've tested both your table and calendar in other browsers and they 
> work quite well-- congratulations.
> 
> My thoughts are -- my understanding the reason why tables have 
> received such bad-press is that designers have abused tables in 
> holding designs together with nested tables AND in doing so made it 
> difficult for the visually disabled to pull content from the site. 
> Screen readers do not read the screen but rather read the source and 
> pull out of it what they (the screen reader program) think is 
> content. Translating nested tables becomes an impossible job for them.
> 
> In that light, if one compares your code with the amount of code to 
> do this with tables, I don't see much difference.
> 
> With tables, one uses <tr> and <td> whereas your code uses <div 
> class="table_tr"> and  <div class="table_td"> -- while you do it 
> nicely, I really don't see much difference in structure or verbosity.
> 
> Furthermore, styling your table as compared to a standard table is 
> nearly identical -- I don't see an advantage to either.
> 
> Additionally, and not of your doing, even the new css tables don't 
> solve this verbosity problem but instead offer more difficulties for 
> browsers -- such as Safari doesn't understand caption-side correctly.
> 
> In any event, I wouldn't mind seeing the php that creates your 
> calendar. I'm working on a project at the moment where I need to 
> review week, month, two-month, and three-month displays.
> 
> Cheers,
> 
> tedd
> 
> -- 
> -------
> http://sperling.com  http://ancientstones.com  http://earthstones.com
> 

Tedd, I've got a fairly simple calendar script in PHP here
http://www.ashleysheridan.co.uk/coding.php?group=php&article=coding_php_calendar.php which could be adapted fairly easily with the right tweaks.


Ash
www.ashleysheridan.co.uk


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