Reply to Re: CSS: Any way to use variables or constants?

Your name:

Reply:


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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация