Reply to Re: prevent <td> from stretchinggggggggggg despite setting fixed width

Your name:

Reply:


Posted by Ben C on 12/08/06 10:01

On 2006-12-09, User <user@email> wrote:
> Thanks for replying..
>
> I have set
> style="table-layout:fixed; "

You shouldn't need that as well as the widthed <div> inside the <td>.

> but under the cell:
>
> <td ><div style="width:250px;
> overflow:visible"><%=rs("title")%></div></td>
>
> The contents of the cell overflows to other areas. i want it to be able to
> be trapped in the div cell...if the contents hits the edge of the cell, it
> will automatically be bring down to the next line...as if there is a line
> break

There's no way to force line-breaks except at proper line-breaking
points in CSS 2.1 or in most browsers, although IE has a proprietary
property for it (something like word-wrap: break-word).

[Back to original 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

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