CSS problem

  • Thread starter Jeroen van vliet
  • Start date
J

Jeroen van vliet

Hello i have gor an css problem, i want to use a fixed font size and i pur
this in the head

<style>

body { font-size: 70%; font-family: verdana, helvetica, sans-serif; }

td { font-size: 70%; font-family: verdana, helvetica, sans-serif; }

h4 { font-size: 120%; font-weight: bold; }

..m { font-size: 80%; }

..headings { font-size: 80%; font-weight: bold; }

..title { font-size: 115%; font-weight: bold; }

..inputbox {
border-top:#333333 solid thin;
border-bottom:#333333 solid thin;
border-right:#333333 solid thin
font-family: verdana, helvetica, sans-serif;
}

..inputbutton { font-size: 90%; }

</style>

doesnt work, if i change the size in explorer to smaller or bigger, it still
changes

why?

Danny
 
P

Philip Ronan

Hello i have gor an css problem, i want to use a fixed font size and i pur
this in the head

<style>

body { font-size: 70%; font-family: verdana, helvetica, sans-serif; }
(more style snipped)
</style>

doesnt work, if i change the size in explorer to smaller or bigger, it still
changes

why?

Danny

This is all rather OT for a Javascript newsgroup. But...

Using a fixed font size is a definite no-no. Maybe your design looks very
pretty on your computer, but have you considered how it might look at 127
dpi on a high resolution display? Or to one of the _millions_ of people out
there who have trouble reading small print?

These days browsers have font settings in their preferences that allow users
to choose a font size that suits them. That would presumably correspond to a
size of "100%". So why are you shrinking all the body text to 70%? Is your
website full of legal small print that you don't want anyone to read?

The ability to change the text size in browsers is very useful. Don't try
and disable it.

Phil
 
B

Ben Nunn

Unless I'm very much mistaken, it was Philip Ronan
([email protected]), in message
BB56A34B.17708%[email protected] who said:
Using a fixed font size is a definite no-no. Maybe your design looks
very pretty on your computer, but have you considered how it might
look at 127
dpi on a high resolution display? Or to one of the _millions_ of
people out there who have trouble reading small print?

These days browsers have font settings in their preferences that
allow users to choose a font size that suits them. That would
presumably correspond to a size of "100%". So why are you shrinking
all the body text to 70%? Is your website full of legal small print
that you don't want anyone to read?

The ability to change the text size in browsers is very useful. Don't
try
and disable it.


Of course, the logic of using %s for fonts for accessibility purposes goes
out the window when you go any smaller than 100% anyway as people's ability
to read a given % of their chosen default varies with their eyesight as much
as anything else.

BTN
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,079
Messages
2,570,573
Members
47,205
Latest member
ElwoodDurh

Latest Threads

Top