You are here: Re: CSS table don't look like html TABLE « HTML « IT news, forums, messages
Re: CSS table don't look like html TABLE

Posted by Stan McCann on 11/09/06 14:50

Bergamot <bergamot@visi.com> wrote in news:4rf100Fqs3n4U1
@mid.individual.net:

> vitay wrote:
>>
>> I think is this possible to do with CSS completely like table.
>> Table have width auto and if for example if first col of first row
>
> I think you missed the point - if you're talking rows and columns, it
> sounds like tabular data.
>
> Use the right tool for the job. For tabular data, that means HTML
> tables. CSS is the wrong tool.

You are incorrect with this statement and your statement shows a lack
of understanding as to the difference between HTML and CSS. Of course,
you want to use HTML tables for tabular data, but then if you wish your
table to look a certain way, you should use CSS to style the table to
look as you want just as you would with any paragraph, div, or
whatever.

You may be confusing the tables for layout argument in your above
statement. HTML is the right tool for the job of marking up a page.
CSS is the right tool for the job of styling the HTML.

Someone probably has already, but what the OP wants is possibly
something like this for his CSS:

table{ border:thin solid black }
td { border:thin solid black }

Maybe adding some attributes to the td such as:

td{ border:thin solid black; border-collapse:collapse;
empty-cells:show }



--
Stan McCann, RETIRED!!, "Uncle Pirate" http://stanmccann.us/
Implementing negative score for googlegroup postings, see
http://blinkynet.net/comp/uip5.html
A zest for living must include a willingness to die. - R.A. Heinlein

 

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

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