Firefox - Prevent TextField size change when user changes font size?

Discussion in 'HTML' started by Wongod, Oct 3, 2006.

  1. Wongod

    Wongod Guest

    I'm currently using css to design my website but I've noticed that when
    I change the font size in firefox (holding ctrl and using the mouse
    wheel) that the size of my textfield boxes grows bigger and outside of
    its intended boundries. Is there any way to prevent this (maybe to
    explcitly set the size of the textfield?)
    Wongod, Oct 3, 2006
    #1
    1. Advertising

  2. Re: Firefox - Prevent TextField size change when user changes fontsize?

    Wongod wrote:
    > I'm currently using css to design my website but I've noticed that when
    > I change the font size in firefox (holding ctrl and using the mouse
    > wheel) that the size of my textfield boxes grows bigger and outside of
    > its intended boundries. Is there any way to prevent this (maybe to
    > explcitly set the size of the textfield?)


    You can't do that in competent browsers (i.e. Firefox, Opera, Safari
    Konqueror -- pretty much everything besides IE), nor should you be able
    to. Fix your real problem instead by sizing the container in em units so
    that it will scale.
    Leif K-Brooks, Oct 3, 2006
    #2
    1. Advertising

  3. Wongod

    Dan Guest

    Wongod wrote:
    > I'm currently using css to design my website but I've noticed that when
    > I change the font size in firefox (holding ctrl and using the mouse
    > wheel) that the size of my textfield boxes grows bigger and outside of
    > its intended boundries. Is there any way to prevent this (maybe to
    > explcitly set the size of the textfield?)


    That's not a bug, it's a feature. Avoid hardcoded pixel sizes in your
    pages, and then everything will be able to scale naturally along with
    the user's preferences.

    --
    Dan
    Dan, Oct 4, 2006
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Andreas Klemt
    Replies:
    6
    Views:
    11,006
    Peter Theill
    Nov 28, 2004
  2. dave richards
    Replies:
    2
    Views:
    600
    Paul Furman
    Feb 19, 2004
  3. Replies:
    9
    Views:
    4,478
  4. wial
    Replies:
    2
    Views:
    804
  5. mttc
    Replies:
    2
    Views:
    2,371
    Roedy Green
    Jul 3, 2009
Loading...

Share This Page