controlling font size

I am creating web pages. I use arial font size 10 and arial narrow font size 18. My display properties settings font size is small fonts. Now i can view the page properly. But if i change the display properites settings font size to large font, it does not display
what i exactly want the font size on the page (it display big size and trancates the sentance to the second line. So what I want is how to solve this problem.
pandianAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

MorFFCommented:
You can't stop the user from changing between large&small fonts.

The only way to force the size exactly is to create the text as part of a graphic.  This of course has the drawback that it adds to download time.

Cheers - MorFF
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
tucan1Commented:
<CENTER><font size =5<P> NEW....HAMFEST 1999 </CENTER></font></P>


try this you can change the 5 to what ever but it will take longer to load but i dont worry about that much
go visit my web page and see if it gives you any ideas...to veiw my html just right click in a blank space and select veiw sorce.

http://www.geocities.com/Heartland/Flats/7292/

0
jelloCommented:
have you tried using style sheets to force the font to a specific point or pixel size?

One warning -- if you're new to CSS, Netscape and IE do not always process them the same way, so a little creative juggling is sometimes necessary to get your page to look the same in all browsers.

Let me know if you'd like me to post some code to show you how to do this.

-jello
0
pandianAuthor Commented:
yes, please jello.
thank you.
0
jelloCommented:
Here's the code we talked about.....

<HTML>
<HEAD>

<STYLE TYPE="text/css">
 <!--
  .general  {
       font-size : 10px;
      font-family : Arial;
 }
..header  {
       font-size : 18px;
      font-family : Arial Narrow;
 }
 -->
 </STYLE>
</HEAD>

<BODY>

<DIV CLASS="header">blah blah blah</DIV>
<DIV CLASS="general">blah blah blah</DIV>
</BODY>
</HTML>

----------------------------------------

It's pretty self-explanatory.  There are 2 style groups - header and general.  (You can name them anything nyou want.)  each style is invoked by calling the class in a DIV tag.  In addition to size and font family, you can control margins, borders, style (italic and oblique), weight (bold, light, etc...), alignment, colors, and more.  There are many good CSS resources online that will give you a complete rundown.

I mentioned IE vs. Netscape earlier.  They differ in where they start their margins, and how they interpret point size in fonts.  Ususally, the differences are subtle enough that you can find a happy medium, and no one will notice.

As for the proposed answer to your question, I would avoid making text into a graphic wherever you can.  The only exception might be if you're making a headline style banner in a decorative font that your user might not have on his machine.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Fonts Typography

From novice to tech pro — start learning today.