Hi there, I was just wondering if anyone knows if it is at all possible to insert tags into the CSS so that it outputs when the page is loaded?????
I am getting desperate to know and am running out of time!!
Thanks in advance!!!
for example in the CSS file:
#example {
background: url({uploads_url}/images/{steve_pagenumber}.jpg);
}
Tags into CSS template
Re: Tags into CSS template
I don't believe you can. However, you could use inline styles in your template.
stuff
Nullig
stuff
Nullig
Re: Tags into CSS template
There is a way I use for Javascript, you might find it suitable for your needs.
Create a template which only contains your CSS and the tags as want..., create a page with this template (hidden from menu, but active). Now add this page as stylesheet in your head section of your actual template and you should be fine. But keep in mind, that the CMS is now generating two pages per requests (check caching options).
Best
Nils
Create a template which only contains your CSS and the tags as want..., create a page with this template (hidden from menu, but active). Now add this page as stylesheet in your head section of your actual template and you should be fine. But keep in mind, that the CMS is now generating two pages per requests (check caching options).
Best
Nils