|
Posted by laredotornado@zipmail.com on 03/06/07 21:43
On Mar 6, 2:56 pm, "Jukka K. Korpela" <jkorp...@cs.tut.fi> wrote:
> Scripsit laredotorn...@zipmail.com:
>
> > What is a cross-browser way to enforce that a table cell adhere to a
> > specified width
>
> None. How wide is a table in speech rendering?
>
> But if you are referring to reasonably new graphic browsers, then the answer
> is, with the usual CSS Caveats, that you can "enforce" a width for a cell by
> using table-layout: fixed for the table and by setting a width for the
> entire table. (On IE, things work even if you don't set the table width; IE
> defaults it to 100%.)
>
> > even if there's a word in there that exceeds that
> > width?
>
> And what do you want to happen to the poor word? By default, the word
> overflows to the neighbor cell, though IE uses the default of overflow:
> hidden, i.e. brutally truncates the word. Both ways are rather problematic.
>
> The answer to your _real_ question is _probably_ "Yes, people _can_ pollute
> your guestbook with all kinds of stuff unless you take precautions. You
> should preprocess the data so that the problem does not arise, e.g. by
> truncating too long words before they get written onto a web page."
>
> --
> Jukka K. Korpela ("Yucca")http://www.cs.tut.fi/~jkorpela/
I want the word to be broken in mid-stream so that part appears on one
line and the rest appears on the next. I've tried setting a fixed
width for the entire table but the word (which is really a long email
address) is still breaking the table.
Thanks, - Dave
Navigation:
[Reply to this message]
|