Don't miss out Virtual Happy Hour this Friday (April 26).

Try our conversational search powered by Generative AI!

DIV vs Tables - pros and cons?

Vote:
 
Does anyone have a opinion on which is the better approach for structuring layout in EPiServer?(or in general for that sake?) The samples use DIVs quite extensively, but is there a good reason for not using table-based layout? Complexity? Robustness? Browser compatibility? Flexibility? ...?
#12462
Dec 02, 2005 9:05
Vote:
 
tables are bad from an accessibility point of view. Since data is structured in an unlogical way. Screenreaders also have a hard time reading a website that has lots and lots of tables. Tables should only be used to show tabular data.
#14310
Dec 02, 2005 10:06
Vote:
 
There are specifications in the WCAG 1.0 that describe how you should use tables. Checkpoint 5.3 describes more about this: http://www.w3.org/TR/WCAG10/wai-pageauth.html#tech-avoid-table-for-layout
#14311
Dec 02, 2005 17:02
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.