• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 215
  • Last Modified:

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.
0
tahirr
Asked:
tahirr
  • 2
1 Solution
 
webwomanCommented:
Set up a style sheet, define the fonts in pixels. Use the styles you define in the style sheet.

If they REALLY want to override your styles they can, but just changing the text size the way you normally would doesn't have any effect.
0
 
klykkenCommented:
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
0
 
tahirrAuthor Commented:
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.
0
 
klykkenCommented:
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

0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now