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

0
votes
1answer
2k views

How to customize Column Title area in Webpart

Good day! Here is the problem: I apply custom style to web parts my css .ms-vh-div a { color:gray !important; } .ms-vh-div { border-bottom: 1px #c0c0c0 solid; } tr.ms-viewheadertr ...
0
votes
2answers
531 views

Custom Visual Web Part editable CSS

I am making a custom visual web part in Visual Studio 2010 and I am trying to add a editable CSS style sheet to it. What I mean is I want to make a property that the user can access through the edit ...
0
votes
1answer
2k views

How to make the quick launch height to 100% of the screen?

I am trying to get the quick launch to fill the screen height. This does not work: .ms-quickLaunch { background-image:url("/SiteCollectionImages/Style/menuleftgradient.gif"); ...
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
2answers
1k 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
6answers
2k 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
544 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 ...
1
vote
2answers
520 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 ...
0
votes
2answers
853 views

How do I style the SP2010 Welcome control?

I've moved the Welcome control on my masterpage, and now the menu items do not render correctly. I've tried to find the appropriate CSS class name that is causing the problem, with no success. What ...
3
votes
1answer
263 views

What's the correct CSS for loading a font for IE9

I have the following CSS for loading a font which works fine in Chrome but the font doesn't load in IE9: @font-face { font-family: Adelle; src: url('AdelleBasic_BoldItalic.eot'); /* for IE */ } ...
1
vote
1answer
77 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
354 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 ...
2
votes
1answer
1k 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 ...
1
vote
4answers
909 views

Changes to top bar

Hi guys, I want to remove this Home -> Home thing next to logo throughout the site collection. This should also not appear even navigating to site settings. Secondly, I want to add an image next ...
2
votes
1answer
442 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
1answer
523 views

How to handle the ecb menu CSS?

I have hidden the ECB menu from the task/DocLib lists, and I am using jquery to truncate the title field into 50 char and remaining will be displayed in the jquery popup. Even though I have removed ...
0
votes
1answer
828 views

Overlapping issue with custom header and logo

I have used a starter masterpage from Randy Drisgill and added my header area that includes the SiteLogoImage control area as well. I did use the "s4-notdlg" almost on every div. The problem that i ...
3
votes
2answers
726 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
3k views

Show Ribbon in modal dialogs

In the current project, they applied some branding, and for some reason the ribbon is hidden in modal dialogs like when creating a discussion board, task or any list item. I cant find how they hide ...
3
votes
3answers
3k views

Placing your branding images in the “14 hive” vs an Images list

I have a debate with a colleague of mine that deals with where to place images that must be accessible across the farm. I feel that for images that need to be accessed from anywhere, I should place ...
1
vote
3answers
800 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
1k 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
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" ...
2
votes
2answers
437 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
769 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
968 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
918 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
417 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
593 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
447 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
282 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
368 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
275 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
245 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
726 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
380 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 ...