You are here: Re: Break long text « HTML « IT news, forums, messages
Re: Break long text

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/

 

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

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