10
votes
5answers
3k views

When a task can be accomplished by either Javascript or CSS, is it better to use CSS?

I always veto JavaScript by using CSS as much as possible. i.e. I create tabs and rollover buttons using CSS rather than JavaScript. I have seen some solutions—specifically the Wt ...