You are here: Re: Tables with DIV « HTML « IT news, forums, messages
Re: Tables with DIV

Posted by Adrienne Boswell on 01/26/08 16:20

Gazing into my crystal ball I observed Knut Krueger
<> writing in news:fnf78v$q8t$01$1@news.t-

> Hi to all,
> There is an short example in the German selfhtml.og pages:
><style type="text/css">
> div.table { display:table; border-collapse:collapse; }
> { display:table-row; }
> { display:table-cell; border:thin solid red; padding:5px; }
><div class="table">
> <div class="tr">
> <div class="td">ich</div>
> <div class="td">bin</div>
> <div class="td">eine</div>
> <div class="td">Tabelle</div>
> </div>
In addition to what Ben C said, if the content really is tabular data,
use the right tool for the job - a table. Personally, I can't really
see any reason to use display:table when there is a perfectly good
element already available, it just adds more confusion, and the
potential for "divitis".

Adrienne Boswell at Home
Arbpen Web Site Design Services
Please respond to the group so others can share



[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

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