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.phps (source for above)
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.
http://sperling.com http://ancientstones.com http://earthstones.com
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php