You are here: Re: wrapping and tables « HTML « IT news, forums, messages
Re: wrapping and tables

Posted by Neredbojias on 08/25/05 00:46

With neither quill nor qualm, Safalra quothed:

> Jukka K. Korpela wrote:
> > "Ross" <ross@aztechost.com> wrote:
> > > If i have a name 'thisisaveryverylongfirstname' the table stetches to
> > > fit the name. Is there any way I can force it to wrap to a fixed width
> > > of 100px??
> >
> > [snip]
> > The right question is: How do I live with the fact that I cannot control
> > layout in a pixel-exact manner, and should not even try?
>
> Surely the right question would be 'How do I persuade browser
> programmers to implement sensible wrapping algorithms?'? I would *hope*
> that his stated width was 100px because he fails to understand relative
> units, rather than having a layout dependent on the cell being exactly
> 100px wide. I took his question to mean that he was annoyed by that
> fact that a long word in a table cell causes it to take up a great
> width, when he would prefer that column to be narrower (and here we
> have the problem of browsers also having poor table-layout algorithms).
> Of course I could be totally wrong; I hope he will clarify the exact
> problem.
>
> > The answer naturally depends on what you are actually doing (and we cannot
> > get any idea of it, in the absence of URL), but normally you should avoid
> > creating the problem. That is, don't generate excessively long strings.
>
> It can hardly be his fault if someone has a very long given name...

Of course. My real name is
Neredbojiasiamsogreaticanhardlystanditandtheworldshouldbowatmyfeetwhenev
erigivethecommandtodoso but I had to shorten it in the interests of
expediency.

--
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

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