Link to home
Start Free TrialLog in
Avatar of tahirr
tahirr

asked on

fixed font size

I want to keep the font size on my home page fixed. No matter what size visitor has set in view>>text size, it should only show the size of fonts I have defined.  Thanks.
ASKER CERTIFIED SOLUTION
Avatar of webwoman
webwoman

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of klykken
klykken

tahir,

By using the property !important, you're fixing the size of the text as far as you can. As webwoman said, the user will always be able to change the text of the page, if they *really* want to and know how. This way is pretty safe though:

H3 {font-size: 16px ! important;}

--
klykken
Avatar of tahirr

ASKER

Hi webwoman & klykken. Thanks for your suggestions.  I tried them but still able to change font size by going to view>text size. What I want to achieve is at http://www.projectseven.com/ You can not change font size by view>text size for their pages.  Thanks.
tahirr,
this will work on browsers that supports css. Even works on NS 4.7.

Which browser are you testing this on?
The way webwoman explained this to you is exactly how Projectseven does it.
--
klykken