Michael wrote:
> What I had previously was a tableless page layout, with a table to display 
> products in 2 rows of 5 products.
>
> I have now modified this so the <table> option appears no where in the code.
>
> I did this with a container DIV and 2x DIV rows.
>   
What you have there is tabular data which means you use <table>; that is 
semantically correct. Sure, using <table> for page structure or for 
positioning elements is not semantically correct, and using <div> is 
correct.

What is it with web devs / designers either using <tables> everywhere, 
or nowhere at all even when required?

This stupid thread is filling up my PHPUG folder. Tables for tabular 
data. Divs for page divisions.

Stuff like:

<div class="table-wrapper">
 <div class="table">
  <div class="tr">
   <div class="th">A</div>
   <div class="th">B</div>
   <div class="th">C</div>

Makes me cry. No really it does.

-Stig

--~--~---------~--~----~------------~-------~--~----~
NZ PHP Users Group: http://groups.google.com/group/nzphpug
To post, send email to [email protected]
To unsubscribe, send email to
[email protected]
-~----------~----~----~----~------~----~------~--~---

Reply via email to