2 replies [Last post]
the breeze
Offline
newbie
Last seen: 18 years 5 weeks ago
Joined: 2004-08-25
Posts: 2
Points: 0

I've got a webpage that uses UL and some CSS for navigation, nothing
flash just the usual bog standard stuff.

When viewd in Firefox and IE it looks ok until I increase text size.
There is no change in IE but Firefox does increase text size of links
with the usual unsightly outcome.

Opera as usual does it's own thing -but keeps aspect the same.

Is there a way I can stop this happening?

co2
co2's picture
Offline
Leader
UK
Last seen: 14 years 24 weeks ago
UK
Joined: 2003-09-17
Posts: 721
Points: 0

Stopping text resize Firefox

I presume you're specifying in pixels, for the font size?

IE will not resize pixel sized fonts, Firefox will (as will all other modern browsers).

If IE did, it'd solve a lot of problems.

One way to ensure decent scaleability is to specify dimensions (of height and widths) and fonts in a scaleable measurement, such as ems, percentage etc.

Here's one I prepared earlier for you:

http://pub.c-o2.net/cssf/em.htm

Smile

[EDIT]: In short, you can't stop Firefox from resizing, it's actually a very useful accessibility feature (first in IE5 for Mac).

Also, I've only tested this page in Safari, but should be similar in other browsers. Wink

The next sentence is true. The previous sentence is false. Discuss...

the breeze
Offline
newbie
Last seen: 18 years 5 weeks ago
Joined: 2004-08-25
Posts: 2
Points: 0

Stopping text resize Firefox

It's late and the lager is kicking in so maybe I'm missing the irony here. What you are saying is I can't stop Firefox altering text size.

Firefox re-sizing is only useful if that's what you want it to.

Any ideas how I should go about changing my links - should i go back to the old gif/rollovers?

R