|
Posted by Jukka K. Korpela on 04/23/07 08:23
Scripsit scripts.contact:
> I want exactly 100% width but the 2nd cell in last row(see below)
> breaks the layout.
Then break the long text, as your Subject line says. :-)
> I already tried:
> -setting width on td
> -css overflow:hidden , overflow:scroll
> with no luck.
If you really want to hide the rest of the text, add
table { table-layout: fixed; }
If you want it scrollable, you also need to use <td><div
class="longtext">...</div></td> with
..longtext { overflow: scroll; }
(Due to IE bug, it does not help to set overflow on td directly.)
But why don't you break the text?
> <TD>
> longTextNoBreaksLogTextNlongTexTextNoBreaksLogTextNlongTextNoBreaksLogTextNlongTextNoBreaksLogTextNlongTextNoBreaksLogTextNlongTextNoBreaksLogTextNlongTextNoBreaksLogTextN
> </TD>
This isn't your real example, is it? If you posted the URL of a real
example, I'm pretty sure we could find a solution rather than a way to
create a new problem.
> <url:data:text/
> html;charset=utf-8;base64,PCFET0NUWVBFIEhUTUwgUFVCTElDICItLy9XM0MvL0RURCBIVE1MIDQuMDEvL0VOIiAiaHR0cDovL3d3dy53My5vcmcvVFIvaHRtbDQvc3RyaWN0LmR0ZCI
> %2BDQo8aHRtbD4NCiAgPGhlYWQ
Someone puked at the end of your message.
--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/
[Back to original message]
|