2 replies [Last post]
paulpsd
Offline
Regular
Last seen: 14 years 13 weeks ago
Joined: 2004-11-24
Posts: 23
Points: 0

I'm working on a site where one of the requirements is that the font sizing features that come with some browsers must work. That is, in IE6 you should be able to adjust the font size by going View --> Text Size.

Up until now, I had always assumed that this feature would always work. On my computers, running Safari and IE6 (both of which have this function), all the sites I've done work with this feature no problem. I always specify absolute font sizes in pixels.

So imagine my surprise when I'm told that on this new site, this feature doesn't work. Oh, it works fine in Safari, and on my own version of IE6. However, on the client's copy as well as with a few of my programmers, it does not work. No text size change occurs.

Which brings me to my question: are there any CSS rules I need to abide by to make sure this feature works all the time?

Tyssen
Tyssen's picture
Offline
Moderator
Brisbane
Last seen: 6 years 49 weeks ago
Brisbane
Timezone: GMT+10
Joined: 2004-05-01
Posts: 8201
Points: 1386

Don't use pixels for font

Don't use pixels for font sizes; use ems or % instead. (I don't know how that manages to work on your copy of IE6. :? )

How to get help
Post a link. If you can't post a link, jsFiddle it.
My blog | My older articles | CSS Reference

paulpsd
Offline
Regular
Last seen: 14 years 13 weeks ago
Joined: 2004-11-24
Posts: 23
Points: 0

Thanks!

I've changed those font sizes to ems, and now it's working fine where it wasn't working before. Thanks!