Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.
Hi all, please see this major site announcement: https://www.boards.ie/discussion/2058427594/boards-ie-2026

Sharepoint controls.css problem

  • 29-05-2008 11:47AM
    #1
    Registered Users, Registered Users 2 Posts: 2,793 ✭✭✭


    Hi,

    I'm working on a Sharepoint site but am having an unusual problem with controls.css.

    None of the sharepoint controls are getting styles applied to them so the site is practically unuseable as it is. E.g the Site Actions button has no graphics displayed, it is just a piece of text & the dropdown from it when clicked is cluttered and unstructured. This applies to all controls including the Rich Text Fields etc.

    I am importing the controlls.css the regular way with:
    <SharePoint:CssRegistration name="<% $SPUrl:~sitecollection/Style Library/~language/Core Styles/controls.css %>" runat="server"/>
    

    and when that didn't work, I tried:
    <link href="<% $SPUrl:~SiteCollection/Style Library/en-US/Core Styles/controls.css%>" rel="stylesheet" type="text/css" media="screen" />
    

    I have used firebug and I can see that the css is being imported in the head section because I can actually browse through it's styles.

    Any suggestions or advice would be greatly appreciated.

    Thanks
    John


Comments

  • Registered Users, Registered Users 2 Posts: 2,929 ✭✭✭Ginger


    Are you editing default.master?


  • Registered Users, Registered Users 2 Posts: 2,793 ✭✭✭John_Mc


    Hi,

    Thanks for the reply. No I've created a custom masterpage using the Minimal Masterpage settings given my M$.

    The styles work fine in the System pages, just not the front end pages.


  • Registered Users, Registered Users 2 Posts: 2,793 ✭✭✭John_Mc


    I fixed this issue by adding the following above the CSS references in my masterpage:

    <Sharepoint:CssLink runat="server"/>


Advertisement
Advertisement