Click here to get back home

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

 HomeNewsGroups | Search | About
 comp.infosystems.www.authoring.html    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Firefox - Prevent TextField size change when user changes font size? Wongod 10-03-2006
Posted by Wongod on October 3, 2006, 6:21 pm
Please log in for more thread options


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


Posted by Leif K-Brooks on October 3, 2006, 6:29 pm
Please log in for more thread options


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.

Posted by Dan on October 4, 2006, 8:26 am
Please log in for more thread options



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


Similar ThreadsPosted
Allow the user to increase font size December 2, 2005, 6:43 pm
MSIE font size change? April 8, 2005, 10:22 pm
Question of font size change May 5, 2005, 10:08 pm
Table cells change size March 1, 2005, 9:02 pm
 tag font and size
December 30, 2004, 12:05 pm
Best way to specify font size December 11, 2005, 6:45 pm
Loose DTD and font size August 27, 2004, 9:34 am
Font-size buttons October 6, 2005, 9:42 am
Behind-the-scenes font size changes October 11, 2006, 6:01 am
font-size-bigger-smaller? September 19, 2005, 9:04 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap