You are here: Re: Making a table with divs « HTML « IT news, forums, messages
Re: Making a table with divs

Posted by Good Man on 04/14/06 00:19

Paul B <dfmmm3m3o4@seventynine.net> wrote in news:20060413220711.3a2d7045
@pear.mshome.net:

> I understand that using tables is not the 'correct' way to create a
> webpage layout, so I wondered what the general consensus is on using
> div tags to 'simulate' a table:
> http://seventynine.net/testing/test01.html
>
> It is a very very basic example but I'm sure anyone who has made a
> layout with a table can see the point behind it.

You are correct in stating that using tables for webpage layout is not
preferred. However, tables are still the preferred choice in displaying
tabular data (ie: charts, etc)

I see what you're doing in your example, but I don't know how really
useful it is. Your code does indeed simulate a table using CSS.
However, a great deal of the 'exercise' in moving away from table-based
layout is moving away from the table-based *concept*, not just the table
tags themselves.

For example, if I only wanted content to appear in your 'cell' called
"Bottom right", there is no way I should be required to contemplate
anything else - i would use one div only, and use CSS to specify how I
want content presented/laid out.

Good exercise in scripting/simulating a table, but sort of missing the
concept of CSS itself in my humble opinion....

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация