Results 1 to 3 of 3

Thread: [RESOLVED] Multiline textbox in Mozilla/Firefox

  1. #1

    Thread Starter
    Lively Member homer13j's Avatar
    Join Date
    Nov 2003
    Location
    Ohio Turnpike Exit 173
    Posts
    80

    Resolved [RESOLVED] Multiline textbox in Mozilla/Firefox

    I have a large multiline textbox that gets reduced in size considerably by Firefox. I have tried

    VB Code:
    1. txtDscps.Attributes.Add("height", "500px")

    And

    VB Code:
    1. Dim h As New System.Web.UI.WebControls.Unit(500)
    2. txtDscps.Height = h

    And I Firefox still only displays the textbox three lines in height.

    I know, I know. "Just use IE instead." Problem is, the previous programmer here put a browser check in every single page he wrote on our intranet that prevents it from being displayed in IE for no better reason than an intense hatred of all things Microsoft. On of my first instructions was to get these pages to work with IE, but until I remove the browser checks from every single page any new pages I create have to work with Firefox.

    So how do I get Firefox to give me a large enough text box?

  2. #2
    C# Aficionado Lord_Rat's Avatar
    Join Date
    Sep 2001
    Location
    Cave
    Posts
    2,497

    Re: Multiline textbox in Mozilla/Firefox

    txtDscps.Attributes.Add("style", "height: 500px");
    Need to re-register ASP.NET?
    C:\WINNT\Microsoft.NET\Framework\v#VERSIONNUMBER#\aspnet_regiis -i

    (Edit #VERSIONNUMBER# as needed - do a DIR if you don't know)

  3. #3

    Thread Starter
    Lively Member homer13j's Avatar
    Join Date
    Nov 2003
    Location
    Ohio Turnpike Exit 173
    Posts
    80

    Re: Multiline textbox in Mozilla/Firefox

    Thanks, Mr. Rat!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width