CSS is the abbreviation for Cascading Style Sheets. CSS is a language used to control the presentation (including colors, layout, and fonts) of HTML and XHTML documents.

learn more… | top users | synonyms

2
votes
1answer
2k views

Add a custom Style to Sharepoint Foundation 2010

I want to add a small snippet of CSS code to create a text block in Sharepoint Foundation 2010, so when users are creating pages, they can highlight a block of text and use the dropdown to add the ...
0
votes
2answers
5k views

Physical location of “Style Library”

I'm a complete newbie in sharepoint so this is an easy question. I've uploaded a .css to the Style Library and am looking for an easy way to change it. (ctrl+s to save and F5 to refresh page) What ...
1
vote
3answers
639 views

Strip publishing master-page for anonymous users

Is it ok to strip a masterpage for all SharePoint scripts and styles? We have custom CSS and all of our scripts are JQuery. Even CQWP will have custom rendering. The reason we want to do this is so ...
2
votes
2answers
187 views

Has anyone seen their 2007 custom css modified in a 2010 environment?

I am loading a logo image from the Style Library using the following css statement: background:url("../Style Library/Images/LogoHeader.jpg") no-repeat scroll 0 0 transparent; When I deploy the same ...
44
votes
15answers
14k views

CSS Files in _Layouts or Document Library?

There's been a lively conversation (such as it can be in 140 chars) lately about whether it is better to put CSS files on the disk in the _layouts folder or to store them in a Document Library in the ...
5
votes
3answers
9k views

How to use JavaScript and CSS in a web part?

I am using SharePoint Server 2007 Enterprise with Windows Server 2008 Enterprise. I am using publishing portal template. I am developing using VSTS 2008 + C# + .Net 3.5 + ASP.Net. And I want to ...
0
votes
3answers
2k views

Setting display:none for empty web part zones

Does anyone know the JavaScript for setting display:none on an empty web part zone? I remember seeing it once on a publishing site but now can't find it. This is to avoid the padding and spacing a ...
9
votes
10answers
3k views

Has anyone optimized the front-end (css/javascript files) of a SharePoint site

So it seems to be that Sharepoint's front-end optimization is non-existant. For example, http://dfs.us.dell.com/Pages/DFSHomePage.aspx, according to YSlow, is serving up 14 separate JavaScript files, ...