By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,654 Members | 1,842 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,654 IT Pros & Developers. It's quick & easy.

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

P: n/a
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?)

Oct 3 '06 #1
Share this Question
Share on Google+
2 Replies


P: n/a
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.
Oct 3 '06 #2

P: n/a
Dan

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

Oct 4 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.