You are here: Re: CSS: Any way to use variables or constants? « HTML « IT news, forums, messages
Re: CSS: Any way to use variables or constants?

Posted by Greg N. on 01/20/53 11:36

Beauregard T. Shagnasty wrote:

>>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.

"penalize", bull. A style sheet is, what? 1k bytes or so. Even with a
lousy 50kbit tlelphone line, that's less than 1/5th of a second. It
probably takes the UA the same time to process another file request,
even if that request is served from some cache.

--
Gregor's Motorradreisen:
http://hothaus.de/greg-tour/

 

Navigation:

[Reply to this 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

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