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

3
votes
3answers
4k views

How to modify width of standard dialog form sharepoint 2010

Please, help me! I need to modify width of standard dialog form for adding element into library. If I click to ribbon button for adding element, form opened with width=402px: <div ...
3
votes
1answer
396 views

Does anyone have 960 Grid Template to be used on sharepoint 2010 site?

I am working on design of portal in sharepoint 2010. I need to implement 960 grid system there.It will be very helpfull if anybody have template or related link to it.
0
votes
1answer
1k views

Linking CSS file to ItemStyle.xsl for CQWP custom template

Beginner. I have created a custom template for a CQWP in the ItemStyle.xsl. One thing that I am not sure about is how I could associate a css file so that anytime this template style is used the ...
0
votes
0answers
297 views

AspMenu HTML : Change the classes name

The out of the box HTML of Sharepoint2010 for the left menu (simplerendering) is: <div class="menu vertical menu-vertical"> <ul class="root static"> <li class="static"> ...
0
votes
1answer
1k views

sharepoint:cssLink returns a broken link [closed]

I'm developing the master page for my company's intranet. I've read that this html will link all default and custom css files. <sharepoint:csslink runat="server" version="4" /> I get back ...
0
votes
2answers
369 views

Server Relative references INSIDE CSS?

CssRegistration does a grand job of referencing the CSS file relative to the site URL you are on. What do you do inside the CSS file? If I'm deploying assets to the /_layouts/images directory, sure ...
1
vote
3answers
3k 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 ...
0
votes
3answers
2k views

Adding CSS file to a master page - illegal characters in path?

I'm making a custom master page with a custom CSS file, being deployed in a feature form VS2010. I'm using the CssRegistation control to add the new CSS, but whenever I try to load a page that uses ...
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
546 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 ...
4
votes
2answers
4k views

How can I hide the light blue bottom border on Web Part headers (on hover) and the border around the active Web Part?

The bottom border only occurs on hover. The active Web Part has a full border that I'd like to remove. I've tried the following styles to no avail: .s4-wpActive { border: none; } ...
2
votes
4answers
7k views

How to add javascript and css to a SharePoint 2010 webpart?

What is the proper way (i.e. without having to manually copy the assets to any sharepoint folder or anything like that) to add custom javascript and CSS to a SP 2010 web part? I would like them to be ...
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"); ...
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
2answers
535 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
0answers
32 views

Turn off Library and List Style

Is there any way to turn off the custom master page style to Libraries and Lists in SharePoint 2010? ( I know how to turn off for the _layout pages)
0
votes
2answers
870 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 ...
1
vote
2answers
869 views

change font in web part

Is there a way to change the font in OWA web part for calendar? The fonts are so big and wont fit in the area where web part is. Please suggest.
1
vote
1answer
79 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
359 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
934 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
3answers
4k 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
455 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
852 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
839 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
662 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
830 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
753 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 ...
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
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
552 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
5k 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
443 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
617 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
998 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
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 ...
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
534 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
453 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
286 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. ...