Re: Why style sheets
Sun, 19 Jan 1997 23:39:43 -0500 (EST)

Message-Id: <>
Subject: Re: Why style sheets
To: (Eric Holstege)
Date: Sun, 19 Jan 1997 23:39:43 -0500 (EST)
In-Reply-To: <> from "Eric Holstege" at Jan 17, 97 12:06:01 pm

> I understand all the arguments in favor of style sheets in terms of being able 
> to change the global look of an entire site in one place, but it seems to me 
> that I can do this with some intellignece about my markup conventions, and a 
> global search and replace. 
> Why should I pay the penalty of two HTTP accesses per page (one for the text, 
> another for the style sheet file) on *every page access*, when I can pay a 
> penalty for global search and replace only for every *style update*, which 
> happens much more infrequently. In the latter case I have to be a bit 
> intelligent about how I mark up my pages. In the former case I am in some sense 
> doubling the load on the network, my server, and my filesystem.

Actually, you will have more load if you put all the style info in
the HTML documents. You would have to repeat it over and over again.
If you have something which applies to paragraphs, you need to repeat
that style info for each paragraph.

With a style sheet, you send out the style sheets once; any further
documents using the same style sheet won't need to get the style
sheet again, it will (usually) be cached by the client or a proxy.

Furthermore, the size of a style sheets is often much, much less 
smaller than a graphic.