You are here: Re: Tables: Fixing the column widths absolutely ? « HTML « IT news, forums, messages
Re: Tables: Fixing the column widths absolutely ?

Posted by rf on 10/19/07 08:34

"Alan Searle" <aj_searle@xxxxxxyahoo.com> wrote in message
news:ff9opc$9nf$1@newsreader2.netcologne.de...
> Bergamot wrote:

> Ah, yes, let me expand: I am presenting some big tables of data and so,
> in the header I present the titles followed by a division break and then
> the table below becomes scrollable (with the header/titles always
> displayed). This is great but of course you have to make sure that the
> column widths of the table are exactly the same width as the titles that
> you have declared in the header. Otherwise you have skewed columns under
> the headers which makes it difficult to read.
>
> On most of the reports this works great but, wherever there is a long item
> of text in a particular column, then the whole thing gets distorted.
>
> Any tips would be most welcome.

This has been asked many, many times before (at least once a month). The
answer is "this is how tables work".

Google for further information but consider overflow: hidden; which will
work but will also hide your content.

Trying to simulate a fixed <thead> (which *is* defined in the specs but is
unsupported) with a seperate table is doomed to failure. This also has been
discussed many times before.

As Bergamot hinted, you are trying to fix the wrong problem. The *real*
problem is that your designer is insisting on that fixed header.

By the way, you did *not* provide an example of what your page will
eventually look like. Your example page has only one table, not the
"division break" you hint at above. So, it is actually still a little
unclear what you exactly want.

--
Richard.

 

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

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