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

1
vote
3answers
785 views

font sizing and sharepoint em px pt

How are you handling font sizing with Sharepoint? Just curious on how things are working out. We seem to have a mix of px, pt, and em scattered everywhere among our CSS. I'm trying to clean things ...
1
vote
2answers
981 views

Hide selection in webpart - .ms-WPHeaderTdSelection {display:none}

Hiding the selection is not working. <style type="text/css"> .ms-WPHeaderTdSelection {display:none} </style> Here is the working code: <style> /*--------Hide the ...
0
votes
2answers
1k 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" ...
2
votes
2answers
433 views

Branding SharePoint 2010 CSS and Javascript - Training Courses?

I've been tasked with branding our new corporate website which will be on the SharePoint 2010 platform. Is anyone aware of some good training courses in the UK that might be able to help on the CSS ...
0
votes
1answer
750 views

Hiding left hand navigation menu

I'm using the following code to hide the left hand navigation in SharePoint: <style type="text/css"> #s4-leftpanel { display:none !important; } .s4-ca{ margin-left:0px !important; } ...
2
votes
1answer
1k views

Customize Sharepoint 2010 Ribbon in Dialog ONLY

In the screenshoot below I pasted the Dialog of the NEW ITEM on top of our website. The ribbon bar selected in red, we want to change it, but it should be different to the ribbon bar in the normal ...
0
votes
2answers
1k views

Web Part Page layout

I am not able figure out how to limit the width of the left column of one of the standard Web Part Page templates. The one labeled 'Header, Left Column, Body' works as I would expect it to. The one ...
2
votes
1answer
2k views

CSS link not added to master page

I have a custom CSS file is in 14\TEMPLATE\LAYOUTS\MyStuff folder. Masterpage markup contains the following: <SharePoint:CssLink runat="server" Version="4"/> <SharePoint:Theme ...
1
vote
3answers
1k views

Problem Registering a CSS on a Sharepoint 2010 Master page

I have placed a CSS file in a directory within the 14 Hive: 14/TEMPLATE/LAYOUTS/1033/STYLES/Family/Site.css I am trying to use <Sharepoint:CSSRegistration> to register it like so ...
1
vote
4answers
2k views

How to set CSS class of a ContentByQueryWebpart?

Is there any way to specify a CSS class for a Content Query web part? I tried setting its CssClass property but it didn't do anything.
2
votes
1answer
955 views

CSS inheritance rules and AlternateCSS

I put a CssRegistration tag in my v4.master master page in SP 2010. I expected that subsites would inherit, but newly created subsites do not inherit from this master page. How can I force them to ...
2
votes
2answers
886 views

Can I attach an external Stylesheet to browser enabled InfoPath 2007 form?

First, I apologize if this is the wrong forum; however, I believe someone here may have the answer. I have no problems associating the resource css file and calling it within the view.xml file. The ...
1
vote
1answer
412 views

Can I configure a SharePoint page/site to point to a external text file and CSS and render the resultant HTML?

I'd like to be able to use an existing SharePoint site/page to be able to display simple documents, announcements, etc. But instead of using the Wiki or blog engine native to SharePoint and it's ...
4
votes
1answer
588 views

disabling javascript from overriding breadcrumb navigation styling

I've used some CSS to restyle the titlebar breadcrumbs in a SharePoint 2010 mysite. .s4-title h1 a, .s4-title h2 a, .s4-titlesep h2, .s4-title h2, .ms-ltviewselectormenuheader .ms-viewselector a { ...
4
votes
1answer
2k views

Adding a non-standard font to Sharepoint

I have a non-standard font file in .eot format and use the following CSS syntax to embed it into the master page: @font-face { font-family: Myfontfamily; src: ...
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 ...
2
votes
1answer
2k views

How can I override default css in SharePoinrt 2010 web parts

I would like all my custom webpart and default webparts to look the same. I know css classes like: ms-vh and ms-vb are used for the fonts, anchors and cell backgrounds. What would be the best way to ...
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, ...
3
votes
1answer
1k views

CSSRegistration and revision numbers?

I'm currently using cssregistration to add css to sharepoint pages. All is working until I need to do an upgrade of the css. The context is: I used a delegate control in a feature containing the ...
0
votes
2answers
446 views

How can I use open type font in Sharepoint 2010?

Can I use open type font in Sharepoint 2010 ? Is Open Type font compatible? Thanks in Advance
0
votes
3answers
279 views

Use a different CSS for system pages

Is there a way to apply a different CSS file to system pages in a SharePoint 2010 site collection? We don't want to modify the master page and weren't sure if there's any other solution. Thanks. ...
4
votes
1answer
362 views

Lost Custom CSS File

I had my site branded nicely last week (ok, nice is a strong word). Today, I updated the master page to bring jQuery into the fold and noted that My.css was checked out. I was going to undo the ...
1
vote
3answers
3k views

how to use backgound image in a .s4-title-inner(CSS)

I'm doing some branding and i need to have a background image in a top header above the menu.I tried : .s4-title-inner{ background-image:url('../../images/cj-intranet-bkg.png'); /*When i use a normal ...
2
votes
1answer
270 views

Disable fonts in SharePoint 2010

To be able to keep our company style, we would to restrict the usage of different fonts. We would like everyone to use only the Arial font. I was wondering if anyone knows of a simple way to do this. ...
1
vote
2answers
243 views

ID on the body tag

We have a custom master page for our sites. If on the home page we wish to style it differntley to all the other pages (including the homepage of sub sites). Normaly to do something like this I would ...
3
votes
2answers
719 views

Sharepoint 2010 Lists, is value specific formatting of columns or rows possible?

I would like to format columns or rows that contain certain values, without any client side javascript hacks. I'm looking for an OOB solution. For example - if 1 column in my list being of type ...
7
votes
6answers
8k views

Add printer-friendly functionality to SharePoint 2010

How challenging is it to add these two functions to all SharePoint site pages? Have a printer icon that allows user to print the content of the page Have a PDF icon that lets the user export the ...
4
votes
2answers
4k views

Understanding problem: How to add a stylesheet to a web part

Well, I try to add a css stylesheet to my web part but it didn’t work… I read that there are many ways to a css file into a web part, but I didn’t understand them…. First I installed the Sharepoint ...
0
votes
3answers
6k views

Sharepoint branding: Styling the Quick Launch

I can't get to style the Quick Launch menu links: the 'hover' and the 'selected'. I've tried this: Open your site using SharePoint designer Select the master page Add class name to ...
1
vote
1answer
376 views

Debug CSS Registration

I'm working on a custom Blog site template that's quite similar to the OOTB Blog site template. I'm having issues with CSS registration of the OOTB blog.css file. (i.e. via ...
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 ...
7
votes
3answers
1k views

Customization best practices for SP2010 [closed]

We'd like to customize the look of our SharePoint 2010 pages and sites but didn't know what some best practices are: We'd like to change the look of pages some without breaking the link between them ...
0
votes
1answer
2k views

Change calendar view's layout

I have a calendar list with about 8 views created by filtering on Location. Is it possible to have these views appear differently than the default? I've selected "Week" as the scope for all the views. ...
9
votes
2answers
9k views

Programmatically add JS/CSS to pages

I've created a Visual Studio SharePoint 2010 solution with an ASCX that adds some JavaScript files and CSS to the head of each page; this is based on this article. When I deploy the solution, it adds ...
0
votes
2answers
4k views

How to convert a HTML+CSS template into Sharepoint 2010 template?

For example this template is made by HTML5, CSS3 http://media.smashingmagazine.com/cdn_smash/wp-content/uploads/images/smashing-html5/files/index.html I want to know how to convert it into Sharepoint ...
1
vote
1answer
333 views

How do you handle Javascript/CSS packaging/minification/auto-versioning in SharePoint?

Packaging: Taking file1.js and file2.js and combined them together to make file3.js Minification: Using things like JsMin or YUICompressor Auto-Versioning: URL has /scripts/file2.js?v=123456
3
votes
1answer
1k views

How to change the color of the current location in Quick Launch?

I'm very new to SharePoint, so I need y'alls' help. I am desperately trying to change the color of the selected navigation in the Quick Launch. Right now, it is a baby-blueish kinda' color. No problem ...
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 ...
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 ...
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 ...
0
votes
2answers
2k views

Floating div's and webparts left and right

I've set up a new Page Layout page to replace the Home.aspx of a standard Enterprise Wiki page. Trying to be a good fellow (and not kill any puppies) I opted to go for div's to achieve my goals ...
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 ...
0
votes
1answer
120 views

I've checked out a .css style sheet in Sharepoint Designer 2007 and don't know how to check it back in

I have a .css style sheet checked out in Sharepoint Designer 2007 somehow that I need to check back in but I don't know where to check it back in. Where does this style sheet reside so that I can find ...
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
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 ...
0
votes
1answer
388 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 ...
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. ...
2
votes
2answers
601 views

What do you do to enable Auto-Versioning of custom CSS and Javascript in SharePoint 2010?

I want to be able to auto-version these in SharePoint and I'm looking for the best solution. SharePoint does it with some of it's files. For example: <link rel="stylesheet" type="text/css" ...
1
vote
2answers
3k views

How can I apply custom styles/formatting to an out of the box web part?

I have a list of links stored in a Sharepoint List, and have them displayed in the standard list-item-displaying web part. I would like to have this web part formatted (perhaps with CSS) in a custom ...
2
votes
2answers
188 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 ...