Reply to Re: Dynamically assigning a CSS file to a TPL file

Your name:

Reply:


Posted by Jerry Stuckle on 11/04/06 02:38

Cookie Jar wrote:
> Thank you both. I was hoping I could do this, but just needed to be
> sure the css file name didn't have to be hard coded.
>
> Thanks! - cj
>
> Jerry Stuckle wrote:
>
>
>> In your header, just add:
>>
>><link href="<?php echo $cssfile; ?>" rel="stylesheet" type="text/css">
>>
>

The browser is who requests the CSS file - the server doesn't even look
at the statement. And by the time it gets to the browser, there is no
way to distinguish statically from dynamically generated HTML. So no
problem.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

[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

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