You are here: Re: div or table? « HTML « IT news, forums, messages
Re: div or table?

Posted by Barbara de Zoete on 02/12/06 22:09

On Sun, 12 Feb 2006 21:00:52 +0100, Jim S. <jim@yeah.com> wrote:

> am designing my page layout and I am confused which to choose, should I
> choose Tables or DIV for layout.
> any suggestions?

Neither. Use the proper elements for the content you want to serve out to
your visitor. So a paragraph is a paragraph. A header is a header, a list
is a list, a table is a table, an abbreviation is an abbreviation. If
something needs to be emphasized, you give it emphasis. There are so many
elements around you could use (see
<URL:http://www.w3.org/TR/html401/index/elements.html>, that is hard to
imagine you think of content that can't be marked up with one of those.
However, if there is content for which there is realy no specific element
available, _than_ you use a div for a block level element and a span for
inline content.

Oh, and to answer your question: use CSS2.1 for layout
<URL:http://www.w3.org/TR/CSS2/>.


--
______PretLetters:
| weblog | http://www.pretletters.net/weblog/weblog.html |
| webontwerp | http://www.pretletters.net/html/webontwerp.html |
|zweefvliegen | http://www.pretletters.net/html/vliegen.html |

 

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

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