You are here: Re: Long string in input stretches enclosing table « HTML « IT news, forums, messages
Re: Long string in input stretches enclosing table

Posted by Adrienne Boswell on 09/22/07 14:15

Gazing into my crystal ball I observed 0xDeadBeef <len@mountaindog.com>
writing in news:1190279163.336567.219170@50g2000hsm.googlegroups.com:

> Hey all,
>
> I'm working on an intranet app and I have an issue I can't figure
> out. I have two divs positioned side-by-side. The divs enclose a
> fieldset which encloses another div and a table. The table is used to
> position a form with input controls. When filling out the form all
> looks good until a long text string (100 to 200 characters) is entered
> into an input control and the form is saved. Upon the redisplay, the
> input string insists on being long enough to show the entire text
> string. This stretches the table beyond the borders of its enclosing
> div, fieldset and div. These three controls stay the proper size
> while the table they are enclosing stretches too wide and overflows
> their borders.
>
> The outermost div has a width of 48%, the fieldset has a width of 95%
> and the innermost div has no width assigned. The table has a width of
> 100%, the tr has a width of 98% and so does the input control. The
> app has a liquid layout and stretches in width with the browser
> window.
>
> I am at my wits end with this one. I can't get the table or input to
> stay the proper size. Any help would be greatly appreciated. I'm
> using IE7, btw.
>

As Jukka said, a URL would be helpful, but, gazing into my crystal ball,
I think:
1. You might be using asp.net (controls)
2. You might not have something closed in your code so that the text is
being rendered in the browser, creating this long string
3. If the string is supposed to be there, you can break it up server
side if it's too long.

--
Adrienne Boswell at Home
Arbpen Web Site Design Services
http://www.cavalcade-of-coding.info
Please respond to the group so others can share

 

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

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