I am trying to include a file called slider.php which has a horizontal slider in it, using css and jquery. The file works fine when I access it directly however when I include it in a wordpress index.php file I'm having CSS conflicts. I've tried changing out some of the IDs and Classes to no avail as it seems that some of the classes are hardcoded in somewhere resulting in a completely non-functioning slider.php file.
My question, I believe, is there any way to make sure the slider.php file only has its own css file affect it?