fixed font size

Posted on 2002-04-10
Last Modified: 2013-12-03
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.
Question by:tahirr
  • 2
LVL 19

Accepted Solution

webwoman earned 75 total points
ID: 6932276
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.

Expert Comment

ID: 6938852

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;}


Author Comment

ID: 6945391
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 You can not change font size by view>text size for their pages.  Thanks.

Expert Comment

ID: 6945429
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.


Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
DW UserID Session from Login 1 109
Matching Avenir Fonts In Adobe Arobat DC 7 788
JQuery form validation for bootstrap 1 189
Facebook font changes 6 89
For those who don't know, Adobe Dreamweaver is a popular commercial web editor that enables you to design, build and manage complex websites. The editor is a WYSIWYG (What You See Is What You Get) web editor, which means that you can create your web…
Adobe Dreamweaver CS5 is a WYSIWYG web page editor that has advanced HTML, CSS, and Javascript rendering functionality and is probably the most well-known HTML editor available. Much of Dreamweaver's appeal centers around the Design View interfac…
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now