A LIST Apart: For People Who Make Websites

No. 176

Discuss: Power To The People: Relative Font Sizes

Pages

« First  <  6 7 8

71 Redundancy

I’m a bit confused, and after a testing, even more confused. Why has the author chosen to declare font-size in this manner:

/* xx-small.css*/
body,
body div,
body p,
body th,
body td,
body li,
body dd { font-size: xx-small; voice-family: “\”}\”“; voice-family: inherit; font-size: x-small
}

Wouldn’t the following be enough?

body { font-size: xx-small }

With the latter, everything in the body now is xx-small, no? From my testing, the author’s code actually causes some inherietance problems. Is there a point that I’m missing in writting it out the way the author has here?

posted at 10:19 am on July 10, 2004 by Fernando d.s.

72 Re: Redundancy

Hi Fernando, look this article for more information about relative font sizing:

http://www.alistapart.com/articles/sizematters/

posted at 05:02 am on July 27, 2004 by T.

Pages

« First  <  6 7 8

Discussion Closed

New comments are not being accepted, but you are welcome to explore what people said before we closed the door.

Got something to say?

Discuss this article. We reserve the right to delete flames, trolls, and wood nymphs.

Create a new account or sign in below if you’d like to leave a comment.

Remember me

Forgot your password?

Subscribe to this article's comments: RSS (what’s this?)