473,396 Members | 1,996 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

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.
Jul 21 '05 #1
6 9256
Els
Thirteenva wrote:
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.


url?

--
Els http://locusmeus.com/
Sonhos vem. Sonhos vão. O resto é imperfeito.
- Renato Russo -
Now playing: The Beatles - Come Together
Jul 21 '05 #2


Thirteenva wrote:
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.


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

--

Martin Honnen
http://JavaScript.FAQTs.com/
Jul 21 '05 #3
> 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.
Jul 21 '05 #4
Martin Honnen <ma*******@yahoo.de> wrote in message news:<41***********************@newsread4.arcor-online.net>...
How about posting a URL where we can have a look at the problem?


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.
Jul 21 '05 #5
Thirteenva wrote:
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.


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
Jul 21 '05 #6
On 26 Oct 2004 08:28:37 -0700, th********@hotmail.com (Thirteenva)
wrote:
How about posting a URL where we can have a look at the problem?

----------------------------------------------------------------------------------------------------------------

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
Jul 21 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Harlan Messinger | last post by:
I created a page, currently viewable at http://mywebpages.comcast.net/hmessinger/cssbuttons1.html that displays a couple of buttons simulated with styles applied to <span> tags. The buttons...
1
by: Mary Ann | last post by:
I would like to write code in the On Open property of a form that hides the main menu bar toolbar. I have already customized the menu bar to all for showing/hiding but have no clue how to write...
1
by: Nathan Sokalski | last post by:
I am using the ImageUrl property of the Hyperlink control to create a graphical Hyperlink. However, I want to change the size of the image I am using, but the generated HTML places the width/height...
2
by: Liming | last post by:
Hi, I'm using a third party libray and I can drag a diveand resize it. The issue is, I have a textarea inside of it and I need to resize the width of textarea and height of textarea along with...
0
by: xprimus | last post by:
Can anyone help me with this, I have a linked image in a tale cell and whenever I click on the image it expands, not only that I have to click on it again to get the link to go. These are the...
2
by: ivowel | last post by:
dear experts: is it possible to define in plain html (perhaps with css) a textarea in a form that expands over the entire width of a browser window? sincerely, /iaw
2
by: ckrows | last post by:
I am attempting to create a report off of 6 option groups. Each option group is a Y or N response, populating a 1 or 2 in the tables. i want to report the number a word on the report, I chose the...
8
ddtpmyra
by: ddtpmyra | last post by:
This is just a follow-up question above, this time i wanted to have a dependend drop down that when the users selected 'others' for instance another texbox will show-up right next to my drop down. ...
1
by: Dave Kosik | last post by:
I have an unbound combobox being used as a lookup. THe list is built from a query. All was working well and all of a sudden now when I type in avalue that is in the list it triggers the "NotInList"...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.