You are here: Re: Why can't I change height with <col width="50" height="100">? « HTML « IT news, forums, messages
Re: Why can't I change height with <col width="50" height="100">?

Posted by Adrienne Boswell on 01/13/08 22:14

Gazing into my crystal ball I observed "Bernd Meier" <ndkwinklask263
@yahoo.de> writing in news:fmdbv5$429$1@news.datemas.de:

>>> Why has the value of height no consequences in the below example?
>
>> Becuase there is no height attribute for the col element.
>
> Is there another element for col to change the height?
>
> Or is there no possibility to do it because auf logical reseans?
>
> Because if I would change the cell hights in one column I also have to
> change
> the cell hights of the next columns?
>

Because tables are for tabular data, there really is no reason for a
height attribute - rows expand/shrink to fit their contents, as it
should be. Authors got into the bad habit of using tables for
positioning content - but that is not what tables are for. HTML should
not be presentational - that's what CSS is for.

Unless you have a _very_ good reason for setting height, let the table
do what it supposed to do.

--
Adrienne Boswell at Home
Arbpen Web Site Design Services
http://www.cavalcade-of-coding.info
Please respond to the group so others can share

 

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

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