TextArea width expands when typed in (IE specific)

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Thirteenva

    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.
  • Els

    #2
    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

    Comment

    • Martin Honnen

      #3
      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

      Comment

      • Thirteenva

        #4
        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.

        Comment

        • Thirteenva

          #5
          Re: TextArea width expands when typed in (IE specific)

          Martin Honnen <mahotrash@yaho o.de> wrote in message news:<41768fc5$ 0$22605$9b4e6d9 3@newsread4.arc or-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%.



          Your help is appreciated. Thank you.

          Comment

          • Phil Evans

            #6
            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

            Comment

            • Kent Feiler

              #7
              Re: TextArea width expands when typed in (IE specific)

              On 26 Oct 2004 08:28:37 -0700, thirteenva@hotm ail.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

              Comment

              Working...