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
769 views

AspMenu does not render css-class for 'selected' element

I'm using the codeplex cross-site collection navigation project as a basis. The problem should not be related to that specifically though. I'm using Microsoft.SharePoint.WebControls.AspMenu as my ...
2
votes
2answers
370 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 ...
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 ...
2
votes
1answer
37 views

Color coded background on calculated column using Designer

I am aware of the various methods to colorcode columns (jquery, formula) I choose here to use designer on allitems.aspx on a list (im lazy and its easy). I have given various columns background ...
2
votes
0answers
166 views

Chrome font rendering issues

Basically, the issue lies with Chrome, as it will not render ttf fonts properly using antialiasing. A popular fix is to order the @font-face directive so that the svg-font is first. Only Chrome will ...
2
votes
0answers
62 views

Adding Custom Image Styles to the Ribbon

I use the following Editor Control, with the PrefixStyleSheet "el-" for my custom styles: <PublishingWebControls:RichHtmlField FieldName="f55c4d88-1f2e-4ad9-aaa8-819af4ee7ee8" ...
2
votes
1answer
79 views

How can I fit a Datatable only into a webpart (not page) dynamically?

I develop a Webpart, which should be deployed in other SP-Farms. The Webpart contains a DataTable. I deployed the solution and the DataTable appears in the right side of the Website. I'm using a ...
2
votes
1answer
225 views

Changing PerformancePoint Dashboard page to be Publishing Page?

Is there any way to make the PerformancePoint Dashboard page (the page where you can see your charts, scorecards etc.) to a publishing page. Currently I believe its a web part page and my CSS is not ...
2
votes
1answer
1k 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 ...
2
votes
1answer
953 views

Masterpage and alignment problem using IE7 and above

I have developed a masterpage and the homepage appearing perfect when we use IE8/IE9 but there alignment problem in IE7. I am attaching screenshot of both IE7 and IE8. plz suggest why the DIV's are ...
2
votes
2answers
183 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 ...
1
vote
3answers
1k views

The advised place to put images and css files

I've been looking on the net for some advise and explanation about where to put my custom css and images for the master page in sharepoint 2010. I'm now busy with branding the portal and i'm a bit ...
1
vote
2answers
453 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
826 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 ...
1
vote
3answers
2k 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 ...
1
vote
3answers
7k views

Where is the _layouts directory on the server?

I'm editing a file using SharePoint Designer. Where is the folder url("/_layouts/images/) stored on the server?
1
vote
1answer
159 views

Dropdown menu doesn't fit in form

I have a problem with the way Internet Explorer displays the drop down menu from a look up column in a form. I have a list that contains the names of US, Mexican and Canadian states. In State Folder ...
1
vote
2answers
688 views

Hard Coded Navigation in Master Page - Active link not changing

Prior to my arrival it was decided that all navigation would be hard coded into the Master Page. I wish I could find a solid reason why, but for the time being it escapes me. Due to time constraints, ...
1
vote
1answer
233 views

Anyone using 960 Grid System or YUI 2 Grids CSS

Anyone having experience with 960 Grid system and getting it to play nicely with SharePoint? I am intrested in experience from other CSS Framework and how successfull was your team in implementing ...
1
vote
4answers
1k 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.
1
vote
3answers
3k views

How to brand the top link bar?

I created a SharePoint Foundation site and want to brand the top link bar. How do I do that?
1
vote
1answer
47 views

do css media queries work on sharepoint 2010?

having trouble getting this to work and I thought I would ask if this is even supported in SharePoint 2010(or is it a problem in my css)?
1
vote
1answer
101 views

Site Template with Custom Pages: css, javascript?

If I create some custom pages that include custom html, css and jquery and this page exists within a site that is used as a site template, will that cause issues? From my limited experience with this ...
1
vote
1answer
51 views

Sharepoint Model Box Height On Custom Master Page

We have a custom master page, the orignaly did'nt have this tags in it <div id="s4-workspace"> <div id="s4-bodyContainer"></div> </div> However, someone wanted to use ...
1
vote
3answers
71 views

Minimizing the loadtime

I work with a sandboxed solution which is deployed in a .wsp file. The solution mostly contains our webparts. The pages that contains these webparts, are slow at startup, but it seems that there is ...
1
vote
2answers
161 views

Implementing a CSS Framework in Sharepoint

I've seen a post from you remarking on implementing a CSS framework in the Page Layouts, rather than the Master Pages, which when I think about it makes sense. However, how do you include the ...
1
vote
2answers
954 views

Subsite in Sharepoint Foundation 2010 - Applying CSS

I am just getting started with SPD 2010/Foundation 2010 and having trouble applying a CSS file. On the home site I am using a custom master page that uses this code to load a stylesheet to override ...
1
vote
1answer
519 views

How to make top ribbon visible on all accounts - My Sites

So I've spent a lot of time customizing the look and feel of My Sites using feature stapling but I had been checking the changes using the Administrator account...now I logged in as a test user with ...
1
vote
1answer
53 views

Is it possible to write a feature to inject a custom control into a masterpage?

I have 3 site collections that need a specific css file, and to not have to make changes in multiple places our team has opted for a single masterpage. Instead of creating a second masterpage with a ...
1
vote
1answer
283 views

How do I trigger off of the ribbonbar being shown/hidden?

When the ribbon bar is visible (i.e., not in Browse mode), I want certain things to happen on my page (mostly involving changing styles of some items). How do I determine if it's visible or not or ...
1
vote
3answers
441 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
6answers
984 views

What are best practices for designing Sharepoint sites?

I'm putting together a document for our Art Directors and Creatives for what works best and what might not work best when designing for a sharepoint site. Sharepoint obviously lets you customize CSS ...
1
vote
1answer
213 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 ...
1
vote
3answers
745 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

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 ...
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. ...
1
vote
1answer
277 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
87 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. ...
1
vote
3answers
304 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 ...
1
vote
1answer
37 views

SharePoint 2013 theme engine issue applying selection background color.

In our SharePoint 2013 site we have custom theme aware CSS, most of which is working fine across browsers (IE8/9/10, Safari and Firefox) but in case of /* ...
1
vote
2answers
73 views

One master multiple logos and link in header

I'm looking for the best approach to have a logo link in the header area redirect to different roots based on specific subsites in the same site collection. Example: all "Radio" pages and subsites ...
1
vote
1answer
164 views

Hide Tool Tip on SharePoint 2010 Calendar Event for Month View

I need to hide the tool tip for a SharePoint 2010 calendar event in the month view. How can I achieve this?
1
vote
1answer
65 views

CSS Declaration in SharePoint Designer 2010

This is my 1st post here so bare with me ... I am very new :) I have got SP Designer 2010 up and running, I am starting to reference CSS files saved in the 'Style Library'. Everything is working ...
1
vote
1answer
108 views

How to disable mouseover effect on Document Library webpart

I'm trying to disable the mouseover effect on a document library webpart (or a generic SPLIstViewWebPart)... I tried by css, by JS but with no success at all... Googling I find no answer... Any ...
1
vote
1answer
110 views

RichHtmlField: Using :first-of-type (and other pseudo-classes) causes blank entries in Markup Styles menu

I've set up a RichHtmlField like so: <PublishingWebControls:RichHtmlField PrefixStyleSheet="sbg" id="SomethingUseful" FieldName="SomethingUseful" HasInitialFocus="False" MinimumEditHeight="200px" ...
1
vote
2answers
359 views

Icon-based menu that dynamically changes based on permissions

We're trying to create an square grid, icon-based menu that is permission trimmed (certain icons appear based on your specific SP permission group), that dynamically rearranges the icons based on your ...
1
vote
2answers
482 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 ...
1
vote
2answers
364 views

Disable horizontal scrolling in WebPart

From codebehind I add to my webpart controls _grid=new SPGridView() HtmlGenericControl div = new HtmlGenericControl("div"); div.Attributes.Add("id", "div-datagrid"); ...
1
vote
2answers
437 views

Tricky error in dialogbox styling

This question is related to this: Customize Sharepoint 2010 Ribbon in Dialog ONLY I did what suggested there and it works fine, but with a small problem shown on the screenshot below. My Ribbon html ...
1
vote
1answer
396 views

Theming Sharepoint 2010 overwrite Corev4.css with file, do the Theme Comments work?

I have a css file that I am using to overwrite certain areas of the corev4.css file. Will the Comments: /* [ReplaceColor(themeColor:"Light2-Darkest")] */ also be replaced in theory? I am struggling ...