Fixed font size

  • Thread starter Thread starter John Mathisen
  • Start date Start date
J

John Mathisen

How can I set up a table so the font stays the size of my choice, rather
than modified by the browser opening the table.

Thanks
 
You don't. Every browser needs to be able to react to the sight impaired by
making the text larger (or smaller).
You need to design your site so that changes in font size doesn't affect the
general appearance. Different browsers, such as Internet Explorer, Opera,
Netscape, Avant, Firefox, The World will affect what is seen. You should
test in each.
 
You could use this kind of a .css entry for flexible font sizes:

body {
margin:0;
padding:0;
font-size:76%;
font-family:Arial, Helvetica;
color:#000;
background-color:#fff;
}

p {font-size:1em;}

h1 {font-size:1.8em;}

h2 {font-size:1.6em;}

or, if you want to use pt instead of em them that will be fixed.

However, as Mr. Davis pointed out, the End User can always trump the Web
Designer. Period!

hth.
 
Back
Top