Re: [phplib] templates with phplib From: Ronald Hartwig (ronald <email protected>)
Date: 12/16/00

hi Rishabh,

At 15:47 13.12.00 +0000, you wrote:

>1. The syntax for writing the variables within a template is
>{variable_name}. The problem is that I use stylesheets and the syntax for
>describing the properties is also using the same curly brackets, e.g.
>a:active { color: #dddddd; }. Its not a problem if the template unknown

put the css definitions in a separate file and include (or better require) them
in your php code (not in the .ihtml).

I use css in combination with a browser detector as described in
http://phpbuilder.com/columns/tim20000821.php3
this works fine with phplib and templates.

there is no need to put css definitions in the template file except for the
<p class="bla">
stuff.

hope this helps,

ronald

***************************
Ronald Hartwig
Römergasse 63/26
A-1160 Wien
mail ronald <email protected>
***************************
>---------------------------------------------------------------------
>To unsubscribe, e-mail: phplib-unsubscribe <email protected>
>For additional commands, e-mail: phplib-help <email protected>

---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>