preventing text size from being increased.

They have: 23 posts

Joined: Mar 2002

Hey there. On some sites I've visited you can't increase the text size from the view menu. Well I'm designing a site that would totally break apart if the text size was increase and I would like to know how to do this? Can anyone help?

John Peters
nextfxdesigns.com

mairving's picture

They have: 2,256 posts

Joined: Feb 2001

You can use stylesheets and px's to control the text size.
In between a couple of style tags you can use this:

P { font-family:verdana, helvetica, arial, geneva, lucida, sans-serif; color:#000000; font-size:12px }
TD { font-family:verdana, helvetica, arial, geneva, lucida, sans-serif; color:#000000; font-size:12px }

There are ways around it but it keeps someone from increasing the text size by View/Text Size/ in IE.

Mark Irving
I have a mind like a steel trap; it is rusty and illegal in 47 states

Suzanne's picture

She has: 5,507 posts

Joined: Feb 2000

Alternatively, you might want to work on that design a little so it's expandable. If you have an url, we can probably offer tips to help you out.

They have: 23 posts

Joined: Mar 2002

Well it's a very complex design. Heres the link. I'm a novice when it comes to CSS but I don't want the text to be increased. I also want the text to be smaller at the bottom. This current design works in IE but not NS4. I want it to work in NS4. I also know you can use CSS to set the font size in different tables, again... this works fine is IE but not NS. Any tips would be great.

John Peters
nextfxdesigns.com

They have: 23 posts

Joined: Mar 2002

Woohoo I did it!

Suzanne's picture

She has: 5,507 posts

Joined: Feb 2000

yes and no. you cannot prevent text resizing in IE/mac, Netscape 6 or 7, mozilla. on IE/mac, I can break the design easily. Same with Netscape 6+.

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.