Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old July 21st, 2005, 01:03 AM
Thirteenva
Guest
 
Posts: n/a
Default TextArea width expands when typed in (IE specific)

I've encountered a bug in IE that I can not find a fix to. Maybe
someone can help me out here.

I have a 3 column css layout. The middle column is fluid and expands
as the browser is resized. I have a textarea who's width is 100%. This
text box resides in the middle column. When the page renders in IE the
textarea is sized to 100% of the middle div, the way it should be.
However, when i start typing in this box it immediately expands beyond
the left boundary of its container div.

Anyone encounter this and have a fix for it? I do not want to set this
to a static pixel width.

Thank you.
  #2  
Old July 21st, 2005, 01:03 AM
Els
Guest
 
Posts: n/a
Default Re: TextArea width expands when typed in (IE specific)

Thirteenva wrote:
[color=blue]
> I've encountered a bug in IE that I can not find a fix to.
> Maybe someone can help me out here.
>
> I have a 3 column css layout. The middle column is fluid
> and expands as the browser is resized. I have a textarea
> who's width is 100%. This text box resides in the middle
> column. When the page renders in IE the textarea is sized
> to 100% of the middle div, the way it should be. However,
> when i start typing in this box it immediately expands
> beyond the left boundary of its container div.
>
> Anyone encounter this and have a fix for it? I do not want
> to set this to a static pixel width.[/color]

url?

--
Els http://locusmeus.com/
Sonhos vem. Sonhos vão. O resto é imperfeito.
- Renato Russo -
Now playing: The Beatles - Come Together
  #3  
Old July 21st, 2005, 01:03 AM
Martin Honnen
Guest
 
Posts: n/a
Default Re: TextArea width expands when typed in (IE specific)



Thirteenva wrote:
[color=blue]
> I've encountered a bug in IE that I can not find a fix to. Maybe
> someone can help me out here.
>
> I have a 3 column css layout. The middle column is fluid and expands
> as the browser is resized. I have a textarea who's width is 100%. This
> text box resides in the middle column. When the page renders in IE the
> textarea is sized to 100% of the middle div, the way it should be.
> However, when i start typing in this box it immediately expands beyond
> the left boundary of its container div.
>
> Anyone encounter this and have a fix for it? I do not want to set this
> to a static pixel width.[/color]

How about posting a URL where we can have a look at the problem?

--

Martin Honnen
http://JavaScript.FAQTs.com/
  #4  
Old July 21st, 2005, 01:05 AM
Thirteenva
Guest
 
Posts: n/a
Default Re: TextArea width expands when typed in (IE specific)

> How about posting a URL where we can have a look at the problem?

I'll try to get an example up on the web. I can't post the URL for the
project as due to security restrictions on this web application.
  #5  
Old July 21st, 2005, 01:05 AM
Thirteenva
Guest
 
Posts: n/a
Default Re: TextArea width expands when typed in (IE specific)

Martin Honnen <mahotrash@yahoo.de> wrote in message news:<41768fc5$0$22605$9b4e6d93@newsread4.arcor-online.net>...
[color=blue]
> How about posting a URL where we can have a look at the problem?[/color]

Here's the URL, i grabbed the skeleton of your web app and plopped in
a div with a textarea in it. Text area has width set to 100%.

http://rightreason.net/test/textarea.htm

Your help is appreciated. Thank you.
  #6  
Old July 21st, 2005, 01:05 AM
Phil Evans
Guest
 
Posts: n/a
Default Re: TextArea width expands when typed in (IE specific)

Thirteenva wrote:[color=blue][color=green]
>>How about posting a URL where we can have a look at the problem?[/color]
>
>
> I'll try to get an example up on the web. I can't post the URL for the
> project as due to security restrictions on this web application.[/color]

Felt sure I'd responded to this first time around - the pages are
certainly in my history - but I must have been distracted before I posted :)

Anyhoo - http://fplanque.net/2003/Articles/iecsstextarea/ recommends
putting a div with a width or a fieldset around the textarea, which
should force IE to constrain it to the container.

P
  #7  
Old July 21st, 2005, 01:06 AM
Kent Feiler
Guest
 
Posts: n/a
Default Re: TextArea width expands when typed in (IE specific)

On 26 Oct 2004 08:28:37 -0700, thirteenva@hotmail.com (Thirteenva)
wrote:
[color=blue]
> How about posting a URL where we can have a look at the problem?[/color]
----------------------------------------------------------------------------------------------------------------

Hmm...I always thought this was a good thing! I guess it depends on
how you're using the text boxes.



Regards,


Kent Feiler
www.KentFeiler.com
 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles