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

5
votes
1answer
2k views

How do I modify themable corev4.css?

I've noticed that my main site uses styles/corev4.css while the subsites use various revisions of _layouts/1040/styles/Themable/corev4.css. I have to modify both. While I can access ...
8
votes
2answers
9k views

Remove [Revert to template] message from page

I created a page in SharePoint 2010 and then made some edits to the page. Then I went into the page Version History and restored a previous version of the page. Now I have this message that does not ...
-1
votes
3answers
188 views

How can I fix this CSS?

I followed this article and it's working but half way. See image shots below.
0
votes
2answers
2k views

Content Editor Web Part blank in jQuery slideshow

Now I dont get any error(s). But the content editor wp is blank (well, except for the gear image). Any idea(s)?? <IMG ID="slideshowPicturePlaceholder" src="/_layouts/images/GEARS_AN.GIF" ...
3
votes
2answers
375 views

Can all the /_layouts/xxx.debug.js files not be served to end users?

I'm working with a 3rd party vendor who has done the SP 2010 integration of a small site. I've noticed that our incredibly simple login page is nearly 3.2 megabytes. The users of this site are the ...
4
votes
1answer
562 views

Customize styles in SP2010 WYSIWYG editor?

How can I customize the styles available in the WYSIWYG editor in SharePoint 2010? I'd like to replace the OOTB styles with ones that match our style guide. I found a reference online that mentions ...
1
vote
4answers
4k views

Why are my sub site collections not getting javascript and css files?

I have a master page deployed with a feature which has custom javascript and css references on it. I am using the <Sharepoint:ScriptLink> and <Sharepoint:CssLink> tags and the code is ...
7
votes
6answers
8k views

How to change the style of the Search box?

I would like to change the image next to the search box to a styled input button. Do I need to create a new delegate control to do this? Can I do this with css, if so how? This is the standard ...
3
votes
2answers
297 views

SP2010 splistitem AND accessing css or style

I have an event receiver which adds splistitems from child sites to the parents site list (in a calendar). How do I access the css or style of an splistitem? I am wanting to color code the different ...
10
votes
4answers
7k views

SharePoint 2010 CSS Reference

For SharePoint 2007, Heather Solomon made a reference chart for all CSS elements used by SharePoint 2007 so that they could be overridden when branding a SharePoint 2010 site. Does any such reference ...
13
votes
2answers
833 views

How to deal with SharePoint design complexity and web designer creativity?

One of my customer wants to use SharePoint as an intranet communication portal. My customer wants to customize the look & feel of the application and he has requested to a web design agency ...
0
votes
2answers
1k views

sharepoint 2010 list pages and subsites not inheriting master page

I am having trouble getting the pages for Lists to inherit the master page - my custom banner does not show when I click a list. Also, the subsites do not inherit this page, even when I select it ...
1
vote
3answers
2k views

SharePoint 2010 core.css multiple versions?

Hi I'm new to SP 2010, picking up a site someone else customized. I opened the site's master page then followed the link to the css section to change. Saved the change and the page looked fine. ...
0
votes
2answers
632 views

Trying to make a pretty button

I'm trying to make a pretty button but I'm not a CSS (or HTML) guy. I'm just trying to hobble together something nicer than a square. I found the Sliding doors CSS example and like it, I've gotten ...
1
vote
2answers
623 views

Complete redesign of a SharePoint 2010

I'm working on a project where i need to do a complete redesign on SharePoint 2010, like changing colors, making it have a fixed size, align it to the center of the page, align the 'site action' ...
1
vote
1answer
440 views

Highlight Group By Row in SharePoint List

I've got a dashboard on my SharePoint Homepage that shows a RAG status of all our project tollgates, grouped by (a) category then (b) project. Is there a way to highlight a group by row in a list ...
0
votes
1answer
392 views

Sharepoint: creating custom themes

I am starting to use Sharepoint 2007 again and I was wondering if there's anything I should know when it comes to creating custom themes. For example, are there things I should definitely not do? I ...
6
votes
3answers
2k views

Problem ordering the CSS references when registering CSS files with the CssRegistration class

I'm developing a web part which needs some custom CSS files. So I'm using the CssRegistration class to add them to the page header. The code registers 4 CSS files which got deployed to the layouts ...
0
votes
1answer
105 views

What is the tag for web part description?

I would like to edit the font of the description in my RSS Viewer Web Part. What is the css tag for the description? I tried .description, which was provided from ...
1
vote
1answer
347 views

CSS Not Working on Hosted Site

I was wondering if someone could help me understand why I cannot get CSS to work on a hosted site? I am using SPD 2010, Windows Server 2008, and IE-8. After putting my CSS script inside the ...
1
vote
1answer
645 views

Caching - core.css/corev4.css

For every SharePoint page, the browser loads a new instance of the core.css (or corev4.css) file. Is there a way, in the Master Page, to enable caching for this file?
0
votes
1answer
1k views

WebResource.axd JavaScript errors

I'm getting JavaScript errors on a SharePoint publishing site, just browsing to any page. In IE the errors are like: Syntax error: WebResource.axd Line: 1 Char: 1 Code: 0 URI: ...
1
vote
1answer
89 views

Where is the css file being defined?

I'm editing an aspx layouts and its master page, and somebody has already linked a custom css file in designer in the Manage Styles pane. Where is this defined in the code? I can't find it anywhere. ...
0
votes
1answer
317 views

Position Fixed in SharePoint

I'm trying to create an addon product in MOSS 2007 which tries to position an html element in a fixed position inside SharePoint page using JS and CSS. I want to support IE 6+. What are the ways i can ...
1
vote
2answers
259 views

how can i change .css or addClass of a textbox in a juery change function - help [closed]

I have a change functions as below: All i want is whan a user clicks the button and the value is less than zero change the backgoundcolor of the textbox and viceversa if its greater that. But it ...
1
vote
3answers
323 views

Is it possible to add a custom attribute to the body tag in a master page?

Hello I have a SharePoint 2007 MOSS publishing site that uses a custom master page for most of its pages. I'd like to be able to apply some jQuery to one of those pages only but there's no way to ...
2
votes
1answer
3k 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
641 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
189 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 ...
48
votes
16answers
17k 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
10k 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
3k 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 ...
10
votes
10answers
4k 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, ...