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
3answers
5k views

How do remove space at top of web part zone?

In my SharePoint Foundation site, I have a page with Text Layout set to "One column with sidebar". The left-hand column has a list web part, as does the right-hand column. However, the web part in the ...
2
votes
1answer
482 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 ...
0
votes
1answer
923 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 ...
1
vote
3answers
923 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 ...
1
vote
2answers
775 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"); ...
0
votes
1answer
1k 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; } ...
3
votes
2answers
798 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 ...
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 ...
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 ...
4
votes
3answers
3k views

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

What are the drawbacks or benefits of storing images in the hive versus a list within the farm? I have a debate with my colleague that deals with where to place images that must be accessible across ...
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
574 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 ...
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 ...
2
votes
1answer
1k 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
1answer
1k 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
3answers
6k views

Master Page how to specify correct Path for CSS and Images

1) In My custom master page I have registered my CSS as follows, <SharePoint:CssRegistration name="/mycssfolder/css/mycss.css" After="corev4.css" runat="server"/> Now I have my folder ...
1
vote
1answer
530 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 ...
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 ...
4
votes
1answer
647 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: ...
2
votes
2answers
1k 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 ...
2
votes
1answer
3k 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 ...
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 ...
1
vote
1answer
567 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 ...
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.
0
votes
2answers
467 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
312 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
428 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 ...
4
votes
3answers
3k views

Issue with standard navigation in Chrome

The standard <SharePoint:AspMenu navigation on our SharePoint 2010 site works fine in all browser but Chrome. When I hover over a menu item I can't see the sub menu items like Contact Us -> ...
5
votes
3answers
5k views

Rounded corners in WebPart headers SP2010

When I view the site in FireFox the below does work with rounded corners, but not in IE at all. I'm trying to make a webpart header in SP 2010 rounded. .ms-WPHeader td { background: #005bac; ...
7
votes
2answers
921 views

CSS not linked on All Site Content

I created a master page and custom CSS file to brand the root site of on my SP10 server. I then applied this master page to all subsites. The style is applied properly on all sites except when I ...
2
votes
2answers
452 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 ...
4
votes
2answers
785 views

Having error when using jquery.corner.js with jquery-1.6.2.min.js

I'm trying to use jquery corner to get curvy quicklaunch in my sharepoint 2010. But i geting eeor "object doesn't support this property or method. Any ideas if this version are compatible. Thanks in ...
1
vote
3answers
4k 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
306 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
258 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
793 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 ...
3
votes
1answer
279 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 */ } ...
4
votes
2answers
5k 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
7k 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
387 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 ...
3
votes
1answer
165 views

Themable CSS: attribute name being replaced as well as color

I have added the following to one of my themable CSS files, which has been working absolutely fine until now: .ICS_footer_side a:hover{ /* [ReplaceColor(themeColor:"Light2")] */ background:#ddd; } ...
7
votes
6answers
9k 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 ...
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. ...
12
votes
2answers
11k 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
347 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 ...