PDA

View Full Version : Using css file only for one template


HyperActiv
05-25-2010, 11:57 PM
Hey everyone,

Recently I have made a nice looking slide show in my board with HTML, CSS and JAVASCRIPT, and there is a problem when I attaching the code:

<link rel="stylesheet" href="style.css" type="text/css" />

when I put it in the template, it is affect for the whole board, but I want it to affect just on the template.

How can I do that?

Thanks for the answers and sorry for the bad english.

Lynne
05-26-2010, 01:49 AM
You can put a condition around it based on THIS_SCRIPT.

<if condition="THIS_SCRIPT == 'index'">
your stuff
</if>