Re: This is my suggestion.
If 1.)
Separate Section of Js and Css. Newbies will be familiarized with Js and css code, and also avoind confusion between them.
else
2.)
Put [CSS] or [JS] text on the title
As I said, if separate section is really not a good suggestion, just add the [CSS] or [JS] or both to the title of the thread, so that users will not be confused about the trick, on how to use, what should they do, how to make it work and also what is the right file for the code to apply.
or like this one, I also suggest
I.Friendster tricks and tutorials
a. JS tricks
b. CSS tricks
something like that..
and if the trick uses the same code, both JS and CSS, the code who's longer will be the right section where to post the trick. Hope you get my point here.