By duztin on
I run a corporate website, I have clients that alter the text size in their browsers. Then they call me saying the text is so small they can't read anything.
Is there a way in css to lock the text size?
I run a corporate website, I have clients that alter the text size in their browsers. Then they call me saying the text is so small they can't read anything.
Is there a way in css to lock the text size?
Comments
Not really
One thing you can do is use absolute text sizes, i.e; in pt (points) or px (pixels). This will prevent text from resizing in Internet Explorer, but won't work for all the other browsers out there. Plus, locking the text is annoying for those who need it, e.g. visually impaired users who need larger text.
I'd simply tell your clients to turn up the text size back to normal, otherwise I'm sure they'll have the same problem on other sites.
--
If you have a problem, please search before posting a question.
How about unlocking?
How about approaching the problem the other way round, by not making any assumptions about your users' browser-settings?
Use relative font sizes (em or %), and then incoporate a text-resizing function. That way the user can adjust the display of your site to whatever best suits their browser settings.
It's fair to assume that they chose the other settings because it suits the rest of their browsing (which maybe almost entirely on their intranet). So I'd disagree with Stephen's suggestion to tell them to reset their browsers -- the client is always right!
I have text-resizing on my site: it was only 30 minutes work to install, and works very effectively. It's sad to see so many sites which don't have it.
Thank you
I'll try that.