Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old October 3rd, 2006, 11:05 PM
Wongod
Guest
 
Posts: n/a
Default Firefox - Prevent TextField size change when user changes font size?

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?)

  #2  
Old October 3rd, 2006, 11:15 PM
Leif K-Brooks
Guest
 
Posts: n/a
Default Re: Firefox - Prevent TextField size change when user changes fontsize?

Wongod wrote:
Quote:
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.
  #3  
Old October 4th, 2006, 01:15 PM
Dan
Guest
 
Posts: n/a
Default Re: Firefox - Prevent TextField size change when user changes font size?


Wongod wrote:
Quote:
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

 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles