Hide Conversations from Search

If you want to hide the “Conversations” options from the dropdown menu that is shown after the Search box, the easiest way is to CSS hide it. Set the following class to “display:none”. #ctl00_PlaceHolderSearchArea_SmallSearchInputBox1_csr_NavDropdownList div:nth-child(3){display:none;}   Then you want to remove the same option from the Search center page (results.aspx) also. Edit the Search page …

Center align a div in IE 8

Usually when I want to center align a div on a page, I use margin:auto auto and set my width to a specific width, like 940px in my stylesheet. But, this does NOT work in IE 8. So to make that work, use width:940pxheight:100%position:absoluteleft:50% (to tell that your div should start in the middle of …

Stylesheets that are used in MOSS

I do a lot of CSS changes to my sites, I find that easier and quicker than to rebuild themes or site definitions and stuff. MOSS 2007 uses the following css files:controls.cssHtmlEditorCustomStyles.cssHtmlEditorTableFormats.cssportal.csscore.css When you create a WSS site, the following CSS files are used:portal.csscore.css MySite portal.csscore.css Share this blog post:

Remove the “Powered by…” in InfoPath forms

In this folder (the one and only.. right?) “C:Program FilesCommon FilesMicrosoft SharedWeb Server Extensions12TEMPLATELAYOUTSINC” is a file that is called “ifsmain.css”. This stylesheet file controls how a web form built by InfoPath is displayed. If you want to remove the logo “powered by InfoPath services” that is displayed in the bottom of every web form …