View Full Version : In which template do I have to put this ?
utw-Mephisto
09-14-2005, 09:00 AM
Hi,
some guys wants to have some kind of rainbow tag.
Example :
<SPAN class="rainbow">{param}</SPAN>
BUT : to get this work, usualy there has to be something in the <HEAD> section of a website.
<STYLE>
.rainbow{ behavior:url(rainbow.htc) }
</STYLE>
Where do I add this now without having the rainbow text all over the webpage but only when using the tag ?
Andreas
09-14-2005, 09:01 AM
headinclude?
Main CSS?
utw-Mephisto
09-14-2005, 09:18 AM
headinclude?
Main CSS?
Does not work, either way ...
Boofo
09-14-2005, 09:51 AM
Add:
.rainbow{ behavior:url(rainbow.htc) }
to the additional CSS options for the style you want it in (bottom of the styles settings page for that style). ;)
utw-Mephisto
09-14-2005, 10:00 AM
As I said above, does not work :(
Boofo
09-14-2005, 10:02 AM
You might want to do the path to that file though. Maybe it can't find it?
utw-Mephisto
09-14-2005, 10:23 AM
Good clue, the file hat an uppercase in it .. well ... would work on Windows but not on Linux :) Thanks
Boofo
09-14-2005, 10:25 AM
Where did you end up adding this?
.rainbow{ behavior:url(rainbow.htc) }
utw-Mephisto
09-14-2005, 10:29 AM
Main CSS at the bottom
.spoiler
{
color: #000000;
text-decoration: none;
background-color: #000000;
}
.rainbow
{
behavior:url(rainbow.htc)
}
Boofo
09-14-2005, 10:32 AM
You should be all set now. ;)
utw-Mephisto
09-14-2005, 10:35 AM
As I said, was only an uppercase in the actually file :D :D All working now W00t
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.