Forum:How to force CSS code to be mainpage-only?

Hi there,

I've been fluffing up my main page a bit, adding forced width and two large images on the side. However, I'd like to have these images only display on the mainpage. I'd also like to have the logo not to display when on the mainpage. Is there a way of forcing these bits of code to only apply to the mainpage?

My current monaco.css code;
 * http://jakanddaxter.wikia.com/wiki/User:Light_Daxter/monaco.css

The mainpage;
 * http://jakanddaxter.wikia.com/wiki/Jak_and_Daxter_Wiki:Main_Page

Thanks for helping, if possible! -- Light Daxter -  Talk  11:36, June 6, 2010 (UTC)
 * Notice the BODY element has a class called "mainpage", if you put .mainpage at the beginning of your selector (just like is done with the first three entries in your CSS) it should only apply to the main page. Hope that helps. -- 11:51, June 6, 2010 (UTC)