Textbox width, Netscape

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

    Textbox width, Netscape

    A server control textbox width displays in IE6 the same as in the 2003 IDE.
    But in Netscape 8 and Firefox 1.0.4 the width is only about 1/3 of it's
    design setting.

    I've tried putting the textbox in a table and in a panel but with no change.

    Does anyone know how to get around this?

    Jay
  • Nick

    #2
    RE: Textbox width, Netscape

    This is an issue with multi browser (or multi version) support for an
    application. You might want to use percentages to set the size of your
    control relative to the page, instead of hard coded pixel sizes.


    "Jay Vinton" wrote:
    [color=blue]
    > A server control textbox width displays in IE6 the same as in the 2003 IDE.
    > But in Netscape 8 and Firefox 1.0.4 the width is only about 1/3 of it's
    > design setting.
    >
    > I've tried putting the textbox in a table and in a panel but with no change.
    >
    > Does anyone know how to get around this?
    >
    > Jay[/color]

    Comment

    • Gabriel Lozano-Morán

      #3
      Re: Textbox width, Netscape

      haven't tried it in Netscape but it IE & Firefox the following textbox has
      the same size setting the width using css.

      In my stylesheet:
      input.UsernameT extBox
      {
      font-family: Verdana, Tahoma, Trebuchet MS, Arial;
      font-size: 12px;
      font-weight: normal;
      color: #000000;
      width: 200px;
      }

      and on my page:
      <input type="text" id="usernameTex tBox" class="Username TextBox" />

      Gabriel Lozano-Morán


      "Jay Vinton" <JayVinton@disc ussions.microso ft.com> wrote in message
      news:97BB1495-443F-4846-9AF1-CAC2D58D6EC4@mi crosoft.com...[color=blue]
      >A server control textbox width displays in IE6 the same as in the 2003 IDE.
      > But in Netscape 8 and Firefox 1.0.4 the width is only about 1/3 of it's
      > design setting.
      >
      > I've tried putting the textbox in a table and in a panel but with no
      > change.
      >
      > Does anyone know how to get around this?
      >
      > Jay[/color]


      Comment

      Working...