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

Your name:

Reply:


Posted by Ben C on 12/08/06 09:29

On 2006-12-09, User <user@email> wrote:
> hi.
>
> i have a table and it is fixed to width of 200.
>
> inside a table, there is a dynamically generated content from db.. but as
> the retrieved content is very long,
>
> my table will be stretcheddddddddddddddddd to fit in this content.
>
> How do i prevent my table or cells from being stretched by dynamic contents?

Put a div inside the <td> and set width: 200px on the div. The content
from the db goes inside the div. You can control what happens to the
overflow by setting the overflow property on the div.

Another possibility is to experiment with table-layout: fixed.

[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

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