Sharepoint 2007 CSS Style Guide/Reference/Cheat Sheet

November 5, 2008

In sharepoint (Moss 2007 , you can do a lot of customization using cascading style sheet (CSS). But there are thousands of css classes defined in Sharepoint by default. So which style should I edit to get the desired result?

I used to have a hard time styling my MOSS 2007 layouts till I found this reference chart. I’m sure many of you are already aware of this cheat sheet or similar guides. I hope it’ll save you worthy time.


Removing search scope dropdown in Sharepoint (MOSS 2007) using CSS

November 3, 2008

Personally, I don’t like the search scope dropdown in sharepoint (moss 2007). Most of the time It doesn’t fit to the looks of my customized sharepoint design. I think it makes my design look a bit ugly. If you have the same problem, here’s the most easiest and quickest way of removing it using css.

Open your core.css file and find this line: “” . This is the css class which is responsible for the search scope dropdown in MOSS 2007.

Now just add this line within the class..:


.. and you are done!

Note: If you don’t want to edit the core.css, you can also add the following line on any css file which will be loaded on the page  (or direct on the masterpage): { display:none; }