Previous Message
Next Message

Specifying fonts: Pixel or percentage?

Sent by Steve Rinaldi on 4 November 2003 07:07


Hi,
 
I have always specified pixels for my fonts but I see that a lot of people
specify percentages these days, FOR INSTANCE:
 
  html body {
background-image: url(../images/srbg.jpg);
background-attachment: fixed;
background-repeat: repeat-x;
  margin:0;
  padding:0;
  background:#fff;
  font:x-small Verdana,Sans-serif;
  voice-family: "\"}\""; 
  voice-family:inherit;
  font-size:small;
} html>body {font-size:small;}
 
Where as I use these 2:
 
   body {
   background-image: url(../images/srbg.jpg);
   background-attachment: fixed;
   background-repeat: repeat-x;
   background-color: #fff;
   margin: 0;
  }
body, p {
font: 11px/18px verdana, sans-serif;
text-align: left;
color: #000;
}
 
I just wondered if one was better than the other?
 
Thanks
Steve
 
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread:

Possibly related: