Posted by Beauregard T. Shagnasty on 01/25/35 11:36
Greg N. wrote:
> Curtis wrote:
>
>> But the notion of 'computed CSS sheets' wholesale for
>> theme/template/skins has a certain appeal. Anyone know of who might
>> be doing this already, as opposed to using PHP to gen the HTML page
>> which in turn calls an ordinary CSS?
>
> Under PHP, I found it makes little sense to call external style
> sheets. Rather, I use inline style sheets which are generated through
> PHP along with the rest of the page.
Doing that penalizes the visitor, who has to download the same styles
with each page. Why not conserve the bandwidth and have your PHP just
generate the <meta ...> line to include the css file? Downloaded once,
and cached.
--
-bts
-Warning: I brake for lawn deer
[Back to original message]
|