(Smarty) Include CSS-File in *.tpl
i could need your help. I'm tryin' to program a template with smarty, so i
started to build a layout in HTML and, as expected, with CSS in an extra
.css-file. When i had finished it, i started to adapt it to smarty, but i
had realized, that Smarty does not work with "normal" css. Damn delimiters
^_^ Though, i tried to include the .css-file with:
{include file="templates_css.css"}
and changed my css-code a bit:
<style type="text/css">
.body {ldelim}
width: 990px;
margin: 0 auto;
{rdelim}
.title {ldelim}
font-family: Verdana;
font-size: 275%;
margin-left: 230px;
padding: 40px;
color: #929292
{rdelim}
</style>
This is what i read the last hour about "including css-files in smarty,
and they recommended "Thanks! It
 
No comments:
Post a Comment