You are here: Re: setting the width of a table « HTML « IT news, forums, messages
Re: setting the width of a table

Posted by Neredbojias on 07/24/05 13:22

With neither quill nor qualm, Robert Frost-Bridges quothed:

> ppcguy wrote:
>
> > is there a way i can set the width of a table to
> > the min of a pre-defined pixel width or the page width.
> [...]
>
> http://www.w3.org/TR/REC-CSS2/visudet.html#propdef-min-width

Ahem. No, he needs to use max-width. <smug grin>

table {
width:100%;
max-width:800px;
}

Of course this won't work in the redoubtable IE so a js routine will be
required for that.

--
Neredbojias
Contrary to popular belief, it is believable.

 

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

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