See also: SharePoint 2007 CSS Reference Chart
The following CSS Reference Chart highlights the major styles used in SharePoint Foundation 2010 and SharePoint Server 2010. CSS styles are grouped by area of the page and include the class/ID value, an explanation of how it is used in SharePoint and other related information including a screenshot where appropriate. Code (and file location) for the style statement is included.
Taught by Heather Solomon
Online: June 11-13 » More «
This chart was built off of v4.master in SharePoint 2010.
| .v4master | Applied to BODY; forces the page size to the full width and height of the browser and hides the scroll bar for most browsers ("scroll" attribute on "body" handles this for some versions of IE); used in many descendant selectors. Modal dialog window auto size generation depends on these properties (height and width set to 100% and overflow set to hidden) to properly display modal dialog windows without extra scrollbars. Aids in docking the Ribbon at the top of the web page (Ribbon won't scroll with page). Width and height functionality can be duplicated in custom master pages by the including the height, width and overflow properties (see source code) in BODY properties of the custom master page. Note that any descendent selectors dependent on "v4master" will not work if this method is used. Used in several OOTB SharePoint master pages (v4, applicationv4, admin, mwsdefaultv4, mysite). Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
|---|---|
| .s4-app | Sets the top margin for the element. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .s4-die | Hides the element. Used in several locations to hide elements from view; sometimes unnecessarily added to elements wrapping hidden content placeholders. Used extensively with SharePoint:UIVersionedContent controls in master pages. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .s4-lp | Sets the padding for the element. Used in assorted locations. Assuming 'lp' stands for 'left padding'. Default usage of this style creates padding to the left of the element. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .s4-rp | Sets the float and padding for the element. Used in assorted locations. Assuming 'rp' stands for 'right padding'. Default usage of this style floats the element and creates padding to the right of the element. Note that the statement does not include a width value, which is required for valid CSS. If other styles are applied to the element that includes a width, then everything is combined and it will be valid. Otherwise you will need to specify a width when using this class. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .s4-pr | Sets the element to full width. Used in assorted locations. Assuming 'pr' stands for Page Row. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-menu-a | ANCHOR element formatting used for menus, such as Welcome menu and Site Actions. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-SPLink | Commonly applied to parent elements that wrap an ANCHOR element. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-SPLink a:link,.ms-SPLink a:visited | ANCHOR element formatting. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .s4-clust | Hides the element for the print view. Style is nested in a sub grouping of print only styles. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .s4-notdlg | Hides the element in a dialog box window. Used in assorted locations. Found in: LAYOUTS\STYLES\dlgframe.css (toggle code) |
| .ms-separator | Creates a space. Found in: LAYOUTS\1033\STYLES\HELP.CSS (toggle code) Found in: LAYOUTS\1033\STYLES\FORMS.CSS (toggle code) Found in: LAYOUTS\1033\STYLES\OWSNOCR.CSS (toggle code) Found in: LAYOUTS\1033\STYLES\SiteManagerCustomStyles.css (toggle code) Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-separator img | Controls the IMG element within an element that is assigned the 'ms-separator' class. Found in: LAYOUTS\1033\STYLES\SiteManagerCustomStyles.css (toggle code) Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .noindex | Applied to elements in assorted locations. Referenced in XML files. |
| #s4-workspace | Applied to DIV element that wraps the vast majority of the page content. This ID is mandatory for the EMCAScript logic (docked Ribbon), modal dialog box sizing and is referenced in many JavaScript files. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
|---|---|
| .s4-nosetwidth | In the master page, add this class to the #s4-workspace DIV element when creating a fixed width design or includes a right/left margin for the entire web page; prevents other SharePoint code from setting widths. Not added to the DIV element by default! This has to be added to custom master pages if needed. |
| #s4-bodyContainer | Applied to DIV element that wraps the vast majority of the page content; child of the 's4-workspace' DIV element. This ID is mandatory for the EMCAScript logic (docked Ribbon), modal dialog box sizing and scripts that calculate page width. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) Found in: LAYOUTS\STYLES\dlgframe.css (toggle code) |
![]() | |
|---|---|
| .ms-siteactionscontainer | Applied to DIV element that contains Site Actions. There is no style statements provided for this class in OOTB SharePoint CSS files. |
| #siteactiontd | Applied to SPAN that is a child of the 'ms-siteactionscontainer' DIV element. There is no style statements provided for this class in OOTB SharePoint CSS files. |
| .ms-siteactionsmenu | Applied to SPAN that is a child of the 'ms-siteactionscontainer' DIV element. Also used as a parent in descendant and child selector style statements. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-siteactionsmenuinner | Applied to SPAN that is a child of the 'ms-siteactionsmenu' SPAN that wraps the Site Actions menu anchor. The 'ms-siteactionsmenuinner' class is used in a descendant selector as a child of the 'v4master' class that sets the border color and background color to transparent; if the 'v4master' class is not set on the BODY element, then a custom style statement will need to be created to duplicate this style. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-siteactionsmenuhover | Hover effect for SPAN that wraps the Site Actions menu anchor. This class replaces 'ms-siteactionsmenuinner' in the code when the user hovers over the anchor. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-menu-a | Applied to ANCHOR element in the Site Actions menu. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| |
|---|---|
| .s4-trc-container-menu | Applied to DIV element that wraps the Welcome Menu. Found in: LAYOUTS\1033\STYLES\PORTAL.CSS (toggle code) Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-SPLink | Applied to SPAN element that wraps the anchor, which is the user's name. Child of the 's4-trc-container-menu' DIV element. Applied in conjunction with the 'ms-SpLinkButtonInActive' and 'ms-welcomeMenu' classes. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-SPLink a:link,.ms-SPLink a:visited | ANCHOR element formatting. Due to more specific style statements that are provided for 'ms-welcomeMenu', only the text-decoration property from this style statement is used. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-SpLinkButtonInActive | Applied to SPAN element that wraps the ANCHOR element, which is the user's name; child of the 's4-trc-container-menu' DIV element. Applied in conjunction with the 'ms-SPLink' and 'ms-welcomeMenu' classes. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-SpLinkButtonActive | Applied to SPAN element that wraps the ANCHOR element, which is the user's name; child of the 's4-trc-container-menu' DIV element. Applied in conjunction with the 'ms-SPLink' and 'ms-welcomeMenu' classes. This class is added when the user hovers over the menu. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-welcomeMenu.ms-SpLinkButtonActive a:link (Hover for Welcome Menu link) | Controls the ANCHOR element that is a child of the 'ms-SpLinkButtonActive' SPAN element. This hover state is also affected by the '.ms-welcomeMenu a:hover' style statement. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-welcomeMenu | Applied to SPAN element that wraps the anchor, which is the user's name; child of the 's4-trc-container-menu' DIV element. Applied in conjunction with the 'ms-SPLink' and 'ms-SpLinkButtonInActive' classes. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-welcomeMenu a:link (Welcome Menu Link) | Controls an ANCHOR element that is a child of 'ms-welcomeMenu' SPAN element. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-welcomeMenu a:hover (Hover for Welcome Menu Link) | Hover state for a child anchor of 'ms-welcomeMenu' SPAN element. This hover state is also affected by the '.ms-welcomeMenu.ms-SpLinkButtonActive a:link' style statement. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-menu-a | Applied to ANCHOR element that wraps the SPAN element that contains the text, which is the user's name; child of the 'ms-welcomeMenu' SPAN element. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-viewselector-arrow | Applied to nested SPAN that wraps the menu arrow icon; child of 'ms-welcomeMenu' SPAN element. Applied in conjunction with the 's4-clust' class and inline styles. Found in: LAYOUTS\1033\STYLES\SiteManagerCustomStyles.css (toggle code) Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| SPAN with inline styles | Applied to nested SPAN that wraps the menu arrow icon; child of 'ms-welcomeMenu' SPAN element. Applied in conjunction with the 's4-clust' and 'ms-viewselector-arrow' classes. <span class="s4-clust ms-viewselector-arrow" style="height: 3px; width: 5px; position: relative; display: inline-block; overflow: hidden;"> |
| IMG with inline styles | Menu arrow icon image. This image is a part of a CSS Sprite (fgimg.png). <img style="border-width: 0px; position: absolute; left: 0px ! important; top: -491px ! important;" alt="Open Menu" src="/_layouts/images/fgimg.png"> |
Global Breadcrumb - Folder Anchor (icon)![]() | |
|---|---|
| .s4-breadcrumb-anchor | Applied to SPAN that contains the folder icon used to open the pop-out menu. Specified as the AnchorCss class in the SharePoint:PopoutMenu code in the master page. Shares styles with 'ms-qatbutton' (edit/save icon next to breadcrumb) and 's4-breadcrumb-anchor-open' classes. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| SPAN with inline styles | Applied to nested SPAN that wraps the pop-out menu linked icon; child of the 's4-breadcrumb-anchor' SPAN element. Applied in conjunction with the 's4-clust' class. <span class="s4-clust" style="height: 16px; width: 16px; position: relative; display: inline-block; overflow: hidden;"> |
| ANCHOR with inline styles | Applied to ANCHOR element that wraps the pop-out menu icon. The anchor element also has an ID assigned (#GlobalBreadCrumbNavPopout-anchor) that could be used for styling purposes. <a style="display: inline-block; height: 16px; width: 16px;"> |
| .s4-breadcrumb-anchor-open | Applied to ANCHOR element wrapping the pop-out menu icon in addition to the inline styles. Specified as the AnchorOpenCss class in the SharePoint:PopoutMenu code in the master page. Shares styles with 's4-breadcrumb-anchor' class. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| IMG with inline styles | Pop-out menu icon image; also controlled by descendant selector style with 's4-breadcrumb-anchor' as the parent. Image file is specified in the IconUrl property in the SharePoint:PopoutMenu code in the master page. This image is a part of a CSS Sprite (fgimg.png). The image file used for the icon can be changed in the master page. <img style="border: 0pt none; position: absolute; left: 0px ! important; top: -112px ! important;" alt="Navigate Up" src="/_layouts/images/fgimg.png"> |
Global Breadcrumb - Popout Menu![]() | |
| .ms-popoutMenu | Applied to a DIV that is set to a display of none on page load that wraps the pop-out menu that appears when you hover over the icon. Applied in conjunction with 's4-breadcrumb-menu' class. |
| .s4-breadcrumb-menu | Applied to a DIV that is set to a display of none on page load that wraps the pop-out menu that appears when you hover over the icon. Applied in conjunction with 'ms-popoutMenu' class. Specified as the MenuCss class in the SharePoint:PopoutMenu code in the master page. Themed styles rely on presence of 'v4master' class on the BODY element. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .s4-breadcrumb-top | Applied to first nested DIV within 'ms-popoutMenu' parent DIV. Wraps a SPAN that contains the "This page location is" text. Some styles rely on the presence of 'v4master' in the BODY element. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .s4-breadcrumb-header | Applied to SPAN element that contains the "This page location is" text. Specified as the CssClass for the ASP:Label used for the header. Some styles rely on the presence of 'v4master' in the BODY element. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| ul.s4-breadcrumb | Applied to unordered list (UL) used for pop-out menu navigation items/trail; child of the 'ms-popoutMenu' parent DIV element. Specified as the CssClass in the SharePoint:ListSiteMapPath code in the master page. Also applied to SPAN with inline styles that wraps the arrow image that appears to the left of the root or current node; this SPAN is a child of 's4-breadcrumb-arrowcont'. Some styles are shared with child lists. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .s4-breadcrumbNode | Specified as the NodeStyle-CssClass in the SharePoint:ListSiteMapPath code in the master page. Listed in styles and master page but not yet found in rendered SharePoint source code. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .s4-breadcrumbRootNode | Applied to unordered list item (LI) element within pop-out menu that shows parent of page/list; child element of the 's4-breadcrumb' UL element. Specified as the RootNoteStyle-CssClass in the SharePoint:ListSiteMapPath code in the master page. Class is also applied to the anchor that wraps the text linking to the parent page/list. Some styles are shared with parent list. The style statement is not very specific as it does not include the class name. Also shares styles with 's4-breadcrumbCurrentNode'. Some styles rely on the presence of 'v4master' in the BODY element. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .s4-breadcrumbCurrentNode | Applied to unordered list item (LI) element within pop-out menu that shows current location. Specified as the CurrentNoteStyle-CssClass in the SharePoint:ListSiteMapPath code in the master page. Class also applied to SPAN element that wraps the text listing current location. Styles are shared with 's4-breadcrumbRootNode'. Some styles rely on the presence of 'v4master' in the BODY element. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .s4-breadcrumbRootNode | Applied to ANCHOR element that wraps the text linking to the parent page/list. Class also applied to parent unordered list (UL). Styles are shared with 's4-breadcrumCurrentNode'. Note the style statements listed use 's4-breadcrumbRootNode' as a parent in a descendant selector for the hyperlink element. 's4-breadcrumbRootNode' is not directly used for the hyperlink (such as 'a.s4-breadcrumbRootNode'). Some styles rely on the presence of 'v4master' in the BODY element. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| span.s4-breadcrumbCurrentNode | Applied to SPAN that wraps the text listing current location within the unordered list item. Class also applied to parent LI element. Styles are shared with other several other breadcrumb styles. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .s4-breadcrumb-arrowcont | Applied to SPAN within the unordered list item that contains the arrow image that appears to the left of the root or current node. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| span.s4-breadcrumb | Wraps the arrow image element that appears to the left of the root or current node; child of the 's4-breadcrumb-arrowcont' SPAN element. The 's4-clust' class and inline styles are also applied. <span class="s4-clust s4-breadcrumb" style="height: 16px; width: 16px; position: relative; display: inline-block; overflow: hidden;"> Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| IMG with inline styles | Arrow image element that appears to the left of the root or current node. Image file is specified as the NodeImageUrl in the SharePoint:ListSiteMapPath code in the master page. This image is a part of a CSS Sprite (fgimg.png). The image file used can be changed in the master page file. <img style="border-width: 0px; position: absolute; left: 0px ! important; top: -353px ! important;" alt="" src="/_layouts/images/fgimg.png"> |
![]() | |
|---|---|
| .ms-qatbutton | Applied to anchor that wraps the Edit/Save icon. Shares styles with .s4-breadcrumb-anchor' and 's4-breadcrumb-anchor-open' (both used in the pop-out menu). Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-qatbutton:hover | Hover state for the 'ms-qatbutton' class. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| SPAN with inline styles | Applied to a SPAN that wraps the Edit/Save icon image. <span style="height: 16px; width: 16px; position: relative; display: inline-block; overflow: hidden;"> |
| IMG with inline styles | Edit/Save menu icon image; also controlled by descendant selector style with '.ms-qatbutton' as the parent. This image is a part of a CSS Sprite (fgimg.png). "Top" value in inline style may vary. <img style="border-width: 0px; position: absolute; left: 0px; top: -251px;" src="/_layouts/images/fgimg.png" alt="Edit"> |
| #s4-titlerow | Applied to DIV that wraps the title area; child of the 's4-bodyContainer' DIV element within the workspace. Referenced in a script file that calculates and fixes the Ribbon dimensions. Applied in conjunction with several classes (refer to following entries). Included in master page. |
|---|---|
Nested Styles for Title Area Container![]() | |
| .s4-titlerowhidetitle | Applied to DIV that wraps the title area; child of the 's4-bodyContainer' DIV element within the workspace. Used by the Ribbon positioning system to convey current Ribbon state; 's4-titlerowhidetitle' is the default and is changed when the ECMAScript code initializes. Applied in conjunction with the following classes: 's4-pr', s4-notdlg', 'ms-titlerowborder'. Included in master page. |
| .ms-titlerowborder | Applied to DIV that wraps the title area; child of the 's4-bodyContainer' DIV element within the workspace. Dynamically added when the page is generated; is not included in the master page; applied in conjunction with the following classes: 's4-pr', s4-notdlg', 's4-titlerowhidetitle'. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .s4-title | Applied to DIV that wraps the title area content; child of the 's4-titlerow' DIV element; applied in conjunction with the 's4-lp' class. Also used as a parent in descendent selectors. Included in master page. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .s4-title-inner | Applied to DIV that wraps the TABLE element that contains the title area content; child of the 's4-title' DIV element. Included in master page. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .s4-titletable | Applied to the TABLE that contains the title area content; child of the 's4-title-inner' DIV element. Included in master page. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
Styles for Title Area Image, Title and Breadcrumb![]() | |
| .s4-titlelogo | Applied to TD that contains the site logo image; child of the 's4-titletable' TABLE element. Also used as parent for child selector style statements for logo image. Included in master page. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .s4-titletext | Applied to TD that contains the site title text; child of the 's4-titletable' TABLE element. Also used as parent for descendant selector style statements for other title types. Included in master page. This class is the parent however the style properties for the site title text is controlled in the 's4-title h1' and 's4-title h2' classes. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .s4-title h1 | Controls the site title text. H1 element is Included in the master page. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .s4-title h1 a | Controls ANCHOR elements in the site title text. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .s4-title h1 a:hover | Hover state for 's4-title h1' ANCHOR element. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .s4-title h2 | Controls the title breadcrumb text. H2 element is Included in the master page. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .s4-title h2 a | Controls ANCHOR elements in the title breadcrumb text. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .s4-title h2 a:hover | Hover state for the 's4-title h2 a' ANCHOR element. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
Nested styles for Breadcrumb Separator Arrow![]() | |
| .s4-bcsep | Applied to SPAN element that wraps site/page title breadcrumb separator arrow image; child of the 's4-titletext' TD element. Applied in conjunction with the 's4-nothome' and 's4-titlesep' classes. Included in master page. This chart does not typically reference nightandday.css since it is custom master page specific; however, nightandday.css is the only file this statement appears. Found in: FEATURES\PublishingLayouts\en-us\nightandday.css (toggle code) |
| .s4-titlesep | Applied to SPAN element that wraps site/page title breadcrumb separator arrow image; child of the 's4-titletext' TD element. Applied in conjunction with the 's4-nothome' and 's4-bcsep' classes. Included in master page. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .s4-nothome | Applied to SPAN element that wraps site/page title breadcrumb separator arrow image; child of the 's4-titletext' TD element. Applied in conjunction with the 's4-titlesep' and 's4-bcsep' classes. Included in master page. Unknown usage. Could not locate in any CSS or JS file. |
| SPAN with inline styles | Applied to SPAN element that wraps separator arrow IMG element; child of a SPAN element (no class or ID) that is a child of the 's4-titlesep' SPAN element. <span style="height:11px;width:11px;position:relative;display:inline-block;overflow:hidden;"> |
| IMG with inline styles | Separator arrow image. This image is a part of a CSS Sprite (fgimg.png). <img style="border-width:0px;position:absolute;left:-0px !important;top:-585px !important;" alt=":" src="/_layouts/images/fgimg.png"> |
Nested styles for Page Description![]() | |
| .s4-pagedescription | Applied to DIV element that wraps the DIV element that contains the page description text; child of the 's4-titletext' TD element. Included in master page. CSS statement relies on the presence of the 's4-title' class assigned to a parent element. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-listdescription | Applied to DIV element that contains the page description text; child of the 's4-pagedescription' DIV element; only rendered when description text exists for a page. This class is only referenced in Core.css, which is used for SharePoint 2007 sites. However it can be used in custom CSS style statements to target the description text and apply modifications to the text or the container. |
![]() | |
|---|---|
| .s4-socialdata-notif | Applied to TD element that wraps social data icons/links; child of the 's4-titletable' TABLE element. Included in master page. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-socialNotif-Container | Applied to DIV element that wraps social data components; child of the 's4-socialdata-notif' DIV element. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-socialNotif-groupSeparator | Applied to a SPAN element that creates the vertical line that appears to the left of the social data icons; child of the 'ms-socialNotif-Container' DIV element. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-socialNotif | Applied to ANCHOR element that wraps a social data icon/button; child of the 'ms-socialNotif-Container' DIV element. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-socialNotif:hover | Hover state for 'ms-socialNotif' ANCHOR element. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| SPAN with inline styles | Applied to SPAN element that is wrapped around "I Like It" icon/button IMAGE element; child of a SPAN element (no ID or class) that is a child of the 'ms-socialNotif' ANCHOR element. <span style="height:32px;width:32px;position:relative;display:inline-block;overflow:hidden;"> |
| IMG with inline styles | Applied to "I Like It" IMG element. Image is a part of a CSS Sprite (mossfgimg.png). <img src="/_layouts/images/mossfgimg.png" style="border:0; left:-0px !important;top:-132px !important;position:absolute;"> |
| SPAN with inline styles | Applied to SPAN element that is wrapped around "Tags & Notes" icon/button IMAGE element; child of a SPAN element (no ID or class) that is a child of the 'ms-socialNotif' ANCHOR element. <span style="height:32px;width:32px;position:relative;display:inline-block;overflow:hidden;"> |
| IMG with inline styles | Applied to "Tags & Notes" IMG element. Image is a part of a CSS Sprite (mossfgimg.png). <img src="/_layouts/images/mossfgimg.png" style="border:0; left:-0px !important;top:-300px !important;position:absolute;"> |
| .ms-socialNotif-text | Applied to SPAN element that wraps the social data icon/button text; child of a SPAN element (no ID or class) that is a child of the 'ms-socialNotif' ANCHOR element. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
Container Styles for Top Nav![]() | |
|---|---|
| #s4-topheader2 | Applied to DIV element that wraps the top navigation bar; child of the 's4-titlerow' DIV element within the workspace. This DIV element also contains search and help icon. Applied in conjunction with the 's4-pr' and 's4-notdlg' CSS classes. Included in master page. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .s4-toplinks | Applied to DIV element that contains the DIV that contains the top navigation bar; child of the 's4-topheader2' DIV element. Applied in conjunction with the 's4-lp' class. Included in master page. Also used as a parent in descendent selector style statements. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .s4-tn | Applied to DIV element that contains the top navigation bar; child of the 's4-toplinks' DIV element. Specified as the CssClass for the TopNavigationMenuV4 SharePoint AspMenu code in the master page. Also used as a parent in descendent selector style statements. It is assumed that the "tn" in the class name refers to "top nav". There is another style that uses "sn" (side nav). It is helpful to remember this when working with the descendent and child selector style statements that use 's4-tn' and 's4-sn'. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .menu | Applied to DIV element that wraps the generated menu; child of the 's4-tn' DIV element. Applied in conjunction with the 'horizontal' and 'menu-horizontal' classes. Also used as a parent selector in descendent selector style statements in Corev4.css. HTML element with CSS class is generated by AspMenu; be careful when editing styles, this is shared with the Quick Launch (Current Navigation). Found in: FEATURES\PublishingLayouts\en-us\band-21.css (toggle code) Found in: FEATURES\PublishingLayouts\en-us\single-level-21.css (toggle code) |
| .horizontal | Applied to DIV element that wraps the generated menu; child of the 's4-tn' DIV element. Applied in conjunction with the 'menu' and 'menu-horizontal' classes. Unknown usage. Could not locate in any CSS or JS file. |
| .menu-horizontal | Applied to DIV element that wraps the generated menu; child of the 's4-tn' DIV element. Applied in conjunction with the 'menu' and 'horizontal' classes. Also used heavily as a parent in descendent selector style statements. Found in: FEATURES\PublishingLayouts\en-us\band-21.css (toggle code) Found in: FEATURES\PublishingLayouts\en-us\single-level-21.css (toggle code) Found in: LAYOUTS\1033\STYLES\menu-21.css (toggle code) Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
Unordered List Styles for Top Nav![]() | |
| .menu ul | Controls the generated navigation UL element that is a child of the 'menu' DIV element. Be careful creating custom styles as this same class name is applied to the LI element and wrapping ANCHOR element; styles are also shared with Quick Launch (Current Navigation). Found in: LAYOUTS\1033\STYLES\menu-21.css (toggle code) Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .root | Applied to generated navigation UL element; child of the 'menu-horizontal' DIV element. Applied in conjunction with the 'static' class. Used in descendent/child selectors in other style statements. There is no style statements for this class for the top navigation bar, but there are styles present that are used for Quick Launch (Current Navigation). Found in: FEATURES\PublishingLayouts\en-us\band-21.css (toggle code) |
| ul.static | Applied to generated navigation UL element; child of the 'menu-horizontal' DIV element. Applied in conjunction with the 'root' class. Also applied to generated nested navigation UL element for instances where there is a second tier of navigation items (subsites, pages or custom links). In this case the UL is a child of the 'static' LI element. Be careful creating custom styles as this same class name is applied to the LI element and wrapping ANCHOR element; styles are also shared with Quick Launch (Current Navigation). Found in: LAYOUTS\1033\STYLES\menu-21.css (toggle code) Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .menu li | Controls the generated LI element that contains a navigation item. Be careful creating custom styles as this same class name is applied to the LI element and wrapping ANCHOR element; styles are also shared with Quick Launch (Current Navigation). Found in: LAYOUTS\1033\STYLES\menu-21.css (toggle code) Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| li.static | Applied to generated LI element that contains a navigation item. The style properties listed is combined with 'a.static'; be careful when creating custom styles as this same class name is applied to the UL element and wrapping anchor; styles are also shared with Quick Launch (Current Navigation). Found in: FEATURES\PublishingLayouts\en-us\single-level-21.css (toggle code) Found in: LAYOUTS\1033\STYLES\menu-21.css (toggle code) Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| li.dynamic-children | Applied to generated LI element that contains a navigation item that has a dynamic (drop-down/fly-out) menu with children navigation items. In OOTB SharePoint, no style statements exist that use this class name AND the LI element in the selector. Be careful creating custom styles as this same class name is applied to the wrapping ANCHOR element; styles are shared with Quick Launch (Current Navigation). |
| li.selected | Applied to generated LI element that contains a navigation item that is the currently selected navigation item. In OOTB SharePoint, no style statements exist that use this class name AND the LI element in the selector. Be careful creating custom styles as this same class name is applied to the wrapping ANCHOR element; styles are shared with Quick Launch (Current Navigation). |
| .s4-tn li.static > a:hover | Hover state for all ANCHOR elements that wrap a navigation item. |
| a.static | Applied to generated ANCHOR element that wraps the navigation item; nested in the LI element. Applied in conjunction with the 'menu-item' class. The style properties listed is combined with 'li.static'; be careful when creating custom styles as this same class name is applied to the UL element and LI element; styles are also shared with Quick Launch (Current Navigation). Found in: FEATURES\PublishingLayouts\en-us\band-21.css (toggle code) Found in: FEATURES\PublishingLayouts\en-us\single-level-21.css (toggle code) Found in: LAYOUTS\1033\STYLES\menu-21.css (toggle code) Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| a.static:hover | Hover state for 'a.static' ANCHOR element. Found in: FEATURES\PublishingLayouts\en-us\band-21.css (toggle code) Found in: FEATURES\PublishingLayouts\en-us\single-level-21.css (toggle code) |
| .menu-item | Applied to generated ANCHOR element that wraps the navigation item. Applied in conjunction with 'static' class. Also used as a parent in descendent selector style statements. Some styles are shared with Quick Launch (Current Navigation). Found in: LAYOUTS\1033\STYLES\menu-21.css (toggle code) Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| a.dynamic-children | Applied to generated ANCHOR element that wraps the navigation item that has a dynamic (drop-down/fly-out) menu with children navigation items. Applied in conjunction with 'static' and 'menu-item' classes. Only used as a parent in descendant selector style statements. Be careful creating custom styles as this same class name is applied to the LI element; styles are also shared with Quick Launch (Current Navigation). |
| a.selected | Applied to generated ANCHOR element that wraps the navigation item that is the currently selected navigation item. Be careful creating custom styles as this same class name is applied to the LI element; styles are also shared with Quick Launch (Current Navigation). Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| a.selected:hover | Hover state for the 'a.selected' class. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| (My Sites) a.selected | Applied to generated ANCHOR element that wraps the navigation item that is the currently selected navigation item in My Sites. Also used as a parent in child selectors in other style statements. Found in: LAYOUTS\1033\STYLES\PORTAL.CSS (toggle code) |
| (My Sites) a.selected:hover | Hover state for the 'a.selected' class in My Sites. Also used as a parent in child selectors in other style statements. Found in: LAYOUTS\1033\STYLES\PORTAL.CSS (toggle code) |
| .additional-background | Applied to generated SPAN element that wraps the navigation item text container; child of the 'menu-item' ANCHOR element. Sets the drop down arrow image(s) for dynamic menus. Also used as a parent in child selector style statements. Some of the style properties listed is combined with 'menu-item-text' class; styles are also shared with Quick Launch (Current Navigation). Found in: FEATURES\PublishingLayouts\en-us\band-21.css (toggle code) Found in: LAYOUTS\1033\STYLES\menu-21.css (toggle code) Found in: LAYOUTS\1033\STYLES\PORTAL.CSS (toggle code) Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .menu-item-text | Applied to generated SPAN element that wraps the navigation item text; child of the 'additional-background' SPAN element. Some of the style properties listed is combined with 'additional-background' class; some styles are also shared with Quick Launch (Current Navigation). Found in: FEATURES\PublishingLayouts\en-us\band-21.css (toggle code) Found in: LAYOUTS\1033\STYLES\menu-21.css (toggle code) Found in: LAYOUTS\1033\STYLES\PORTAL.CSS (toggle code) Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
Unordered List Styles for Dynamic (drop-down/fly-out) Menu![]() | |
| ul.dynamic | Applied to the generated UL element for a dynamic (drop-down/fly-out) menu with children navigation items; child of the 'dynamic-children' LI element. Also used as a parent in descendant selector style statements. Be careful creating custom styles as this same class name is applied to the LI element and ANCHOR element; styles are also shared with Quick Launch (Current Navigation). Found in: FEATURES\PublishingLayouts\en-us\band-21.css (toggle code) Found in: LAYOUTS\1033\STYLES\menu-21.css (toggle code) Found in: LAYOUTS\1033\STYLES\PORTAL.CSS (toggle code) Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| li.dynamic | Applied to generated LI element that contains a navigation item in a dynamic (drop-down/fly-out) menu. Only used as a parent in child selector elements in other style statements. Be careful creating custom styles as this same class name is applied to the UL element and ANCHOR element; styles are also shared with Quick Launch (Current Navigation). |
| a.dynamic | Applied to generated ANCHOR element that wraps the navigation item in a dynamic (drop-down/fly-out) menu; child of the 'dynamic' LI element. Applied in conjunction with the 'menu-item' class. Be careful creating custom styles as this same class name is applied to the UL element and LI element; styles are also shared with Quick Launch (Current Navigation). Found in: FEATURES\PublishingLayouts\en-us\band-21.css (toggle code) Found in: LAYOUTS\1033\STYLES\menu-21.css (toggle code) Found in: LAYOUTS\1033\STYLES\PORTAL.CSS (toggle code) Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| a:hover | Hover state for all ANCHOR elements in a dynamic (drop-down/fly-out) menu. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
Search Area Styles![]() | |
|---|---|
| #s4-searcharea | Applied to DIV element that wraps the search area; child of the 's4-topheader2' DIV element. Applied in conjunction with the 's4-search' and 's4-rp' CSS classes. Included in master page. This chart does not typically reference nightandday.css since it is custom master page specific; however, nightandday.css is the only file this statement appears. Found in: FEATURES\PublishingLayouts\en-us\nightandday.css (toggle code) |
| .s4-search | Applied to DIV element that wraps the search area; child of the 's4-topheader2' DIV element. Applied in conjunction with the 's4-searcharea' ID and 's4-rp' CSS class. Also used as a parent in several descendant selector style statements. Included in master page. Also applied to a nested TABLE element that contains search components; child of the #SRSB DIV element. Applied in conjunction with 'ms-sbtable' and 'ms-sbtable-ex' CSS classes. This instance is not included in the master page. Be careful when creating custom styles as this same class name is applied to the TABLE element. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .s4-wpTopTable | Applied to TABLE element that contains search components; child of 's4-searcharea' DIV element. This TABLE element also contains width, cellspacing and cellpadding values in the HTML code. TABLE element with CSS class is stored in the control file. Found in: LAYOUTS\1033\STYLES\WPEDITMODEV4.CSS (toggle code) Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| #WebPartWPQ1 | Applied to webpart DIV element that wraps the search components; child of the first table cell (TD) element in the 's4-wpTopTable' TABLE element. This ID is consistently used with the search across different site types. |
| #SRSB | Applied to DIV element that contains the search components table; child of the 'WebPartWPQ1' DIV element. |
| .s4-search table | Controls the TABLE element that contains the search components. Found in: LAYOUTS\1033\STYLES\PORTAL.CSS (toggle code) Found in: LAYOUTS\1033\STYLES\SEARCH.CSS (toggle code) |
| .ms-sbtable | Applied to TABLE element that contains the search components. This table is nested in a DIV element (no ID or class) that is a child of the 'SRSB' DIV element. Applied in conjunction with the 'ms-sbtable-ex' and 's4-search' classes. Found in: LAYOUTS\1033\STYLES\SEARCH.CSS (toggle code) |
| .s4-search > table | Controls the TABLE element that contains the search components. This is a CSS hack for Internet Explorer. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-sbtablealt | Use of style unknown. Found in: LAYOUTS\1033\STYLES\SEARCH.CSS (toggle code) |
| .ms-sbtable-ex | Applied to TABLE element that contains the search components. This table is nested in a DIV element (no ID or class) that is a child of the 'SRSB' DIV element. Applied in conjunction with the 'ms-sbtable' and 's4-search' classes. Found in: FEATURES\PublishingLayouts\en-us\SingleLevel.css (toggle code) Found in: FEATURES\PublishingLayouts\en-us\single-level-21.css (toggle code) Found in: LAYOUTS\1033\STYLES\SEARCH.CSS (toggle code) |
| .s4-search | Applied to TABLE element that contains the search components. This table is nested in a DIV element (no ID or class) that is a child of the 'SRSB' DIV element. Applied in conjunction with the 'ms-sbtable' and 'ms-sbtable-ex' classes. Be careful when creating custom styles as this same class name is applied to a parent DIV element. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-sbrow | Applied to table row (TR) element that contains table cells for search term input field and Go button; child of the 'ms-sbtable' TABLE element. Also nested in a TBODY element. In OOTB SharePoint, no style statements exist that use this class name. |
| .ms-sbcell | Applied to table cell (TD) elements except the last table cell; child of the 'ms-sbrow' TR element. Also used as a parent in descendent selector style statements. Found in: FEATURES\PublishingLayouts\en-us\Band.css (toggle code) Found in: FEATURES\PublishingLayouts\en-us\band-21.css (toggle code) Found in: FEATURES\PublishingLayouts\en-us\Vertical.css (toggle code) Found in: FEATURES\PublishingLayouts\en-us\SingleLevel.css (toggle code) Found in: FEATURES\PublishingLayouts\en-us\single-level-21.css (toggle code) Found in: FEATURES\PublishingLayouts\en-us\Tabs.css (toggle code) Found in: LAYOUTS\1033\STYLES\PICKERTREE.CSS (toggle code) Found in: LAYOUTS\1033\STYLES\PORTAL.CSS (toggle code) |
| .ms-sbLastcell | Applied to last table cell (TD) element; child of the 'ms-sbrow' TR element. Found in: FEATURES\PublishingLayouts\en-us\SingleLevel.css (toggle code) Found in: FEATURES\PublishingLayouts\en-us\single-level-21.css (toggle code) |
| .s4-search input | Controls the search term input field. Found in: LAYOUTS\1033\STYLES\PORTAL.CSS (toggle code) Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-sbplain | Applied to search term INPUT field. Applied in conjunction with the 's4-searchbox-QueryPrompt' class and inline styles. Found in: FEATURES\PublishingLayouts\en-us\Band.css (toggle code) Found in: FEATURES\PublishingLayouts\en-us\Vertical.css (toggle code) Found in: FEATURES\PublishingLayouts\en-us\SingleLevel.css (toggle code) Found in: FEATURES\PublishingLayouts\en-us\single-level-21.css (toggle code) Found in: FEATURES\PublishingLayouts\en-us\Tabs.css (toggle code) Found in: LAYOUTS\1033\STYLES\PORTAL.CSS (toggle code) Found in: LAYOUTS\1033\STYLES\SEARCH.CSS (toggle code) |
| input.ms-sbplain:focus | Focus state for INPUT field. Found in: LAYOUTS\1033\STYLES\PORTAL.CSS (toggle code) |
| .s4-searchbox-QueryPrompt | Applied to search term INPUT field. Applied in conjunction with the 'ms-sbplain' class and inline styles. Found in: LAYOUTS\1033\STYLES\SEARCH.CSS (toggle code) |
| INPUT with inline styles | Applied to search term INPUT field. Applied in conjunction with the 'ms-sbplain' and 's4-searchbox-QueryPrompt' classes. <input type="text" style="width:170px;"> |
| .s4-search select | Controls the search scope select dropdown. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| td.ms-sbscopes | Applied to table cell (TD) element containing the search scopes drop down menu. Found in: LAYOUTS\1033\STYLES\SEARCH.CSS (toggle code) |
| td.ms-sbscopes select | Controls the search scope select dropdown. Found in: LAYOUTS\1033\STYLES\SEARCH.CSS (toggle code) |
| select.ms-sbscopes | Applied to search scopes drop down menu selector. Found in: LAYOUTS\1033\STYLES\SEARCH.CSS (toggle code) |
| .ms-sbgo | Applied to table cell (TD) element that contains linked search icon; child of 'ms-sbrow' TR element. Applied in conjunction with the 'ms-sbcell' class. Found in: FEATURES\PublishingLayouts\en-us\Band.css (toggle code) Found in: FEATURES\PublishingLayouts\en-us\band-21.css (toggle code) Found in: FEATURES\PublishingLayouts\en-us\Vertical.css (toggle code) Found in: FEATURES\PublishingLayouts\en-us\Tabs.css (toggle code) Found in: LAYOUTS\1033\STYLES\PICKERTREE.CSS (toggle code) Found in: LAYOUTS\1033\STYLES\PORTAL.CSS (toggle code) |
| .srch-gosearchimg | Applied to IMAGE element that is the Go/search icon; child of an ANCHOR element that is a child of 'ms-sbgo' TD element. Applied in conjunction with an inline style. Found in: LAYOUTS\1033\STYLES\PORTAL.CSS (toggle code) Found in: LAYOUTS\1033\STYLES\SEARCH.CSS (toggle code) |
| .ms-searchimage | Use of style unknown. Suspect it is used in a picker. Found in: LAYOUTS\1033\STYLES\PICKERTREE.CSS (toggle code) Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| IMG with inline style | Applied to IMAGE element that is the Go/search icon; child of an ANCHOR element that is a child of 'ms-sbgo' TD element. Applied in conjunction with the 'srch-gosearchimg' class. <img style="border-width:0px;"> |
| .s4-help | Applied to SPAN element that wraps the Help icon and link; child of the 's4-searcharea' class. Included in the master page. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
|---|---|
| SPAN with inline styles | Applied to SPAN element that contains the Help link and icon; child of the 's4-help' class. Applied in conjunction with the 's4-clust' class. Included in the master page. This code is in the master page and can be changed! <span style="height:17px;width:17px;position:relative;display:inline-block;overflow:hidden;"> |
| ANCHOR with inline styles | Applied to ANCHOR element that wraps the help icon image. Included in the master page. This code is in the master page and can be changed! <a style="height:17px;width:17px;display:inline-block;"> |
| IMG with inline styles | Help icon. Included in the master page. This image is part of a CSS Sprite (fgimg.png). This code is in the master page and can be changed; <img style="left:-0px !important;top:-309px !important;position:absolute;"> |
Styles for Status Bars![]() | |
|---|---|
| #s4-statusbarcontainer | Applied to DIV element that wraps the status bar. Included in master page. |
| #pageStatusBar | Applied to DIV element that contains status bar text; child of the 's4-statusbarcontainer' DIV element. Applied in conjunction with the 's4-status-s3' class. Included in master page. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .s4-status-s1 | Applied to DIV element that contains status bar text; child of the 's4-statusbarcontainer' DIV element. Applied in conjunction with the 'pageStatusBar' ID. Included in master page. One of four status bar message styles. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .s4-status-s1 a | Applied to any ANCHOR elements in the s4-status-s1 DIV element. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .s4-status-s2 | Applied to DIV element that contains status bar text; child of the 's4-statusbarcontainer' DIV element. Applied in conjunction with the 'pageStatusBar' ID. Included in master page. One of four status bar message styles. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .s4-status-s2 a | Applied to any ANCHOR elements in the s4-status-s2 DIV element. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .s4-status-s3 | Applied to DIV element that contains status bar text; child of the 's4-statusbarcontainer' DIV element. Applied in conjunction with the 'pageStatusBar' ID. Included in master page. One of four status bar message styles. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .s4-status-s3 a | Applied to any ANCHOR elements in the s4-status-s3 DIV element. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .s4-status-s4 | Applied to DIV element that contains status bar text; child of the 's4-statusbarcontainer' DIV element. Applied in conjunction with the 'pageStatusBar' ID. Included in master page. One of four status bar message styles. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .s4-status-s4 a | Applied to any ANCHOR elements in the s4-status-s4 DIV element. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| #status_1 | Applied to SPAN element that wraps all status bar text; child of the 'pageStatusBar' DIV element. In OOTB SharePoint, no style statements exist that use any of this ID name. |
| .status_1_body | Applied to SPAN element that wraps the dynamically generated status text; child of the 'status_1' SPAN element. In OOTB SharePoint, no style statements exist that use any of this class name. |
| #WebPartAdderUpdatePanelContainer | Applied to DIV element that wraps the Web Part Adder pane; child of the 's4-ribbonrow' class. Included in the master page. |
|---|---|
| .ms-wpadder | Applied to TABLE element that contains Web Part Adder pane components; child of a DIV element that is a child of the 'WebPartAdderUpdatePanelContainer' DIV element. Applied in conjunction with the 'ms-rtefocus-invalid' class - which is only referenced in OOTB SharePoint JavaScript files. Found in: LAYOUTS\1033\STYLES\WPEDITMODE.CSS (toggle code) Found in: LAYOUTS\1033\STYLES\WPEDITMODEV4.CSS (toggle code) Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
Styles for Header Text![]() | |
| #wpadder_categorysectionhead | Applied to table cell (TD) element that contains the "Categories" section title. |
| .ms-wpadder-sectionhead | Applied to DIV element that contains section title text; child of a TD element that is a child of the 'ms-wpadder' TABLE element. Found in: LAYOUTS\1033\STYLES\WPEDITMODE.CSS (toggle code) Found in: LAYOUTS\1033\STYLES\WPEDITMODEV4.CSS (toggle code) Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
Styles for Web Part Adder PaneDue to the high number of styles and low likelihood that the Web Part Adder Pane will be branded, only a visual representation of the styles is provided. ![]() | |
Styles for Dialog Box Title Bar![]() | |
|---|---|
| .ms-dlgContent | Applied to DIV element that wraps the dialog box. Applied in conjunction with inline styles. Controls the outermost border color around the dialog box. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| DIV with inline styles | Applied to DIV element that wraps the dialog box. Applied in conjunction with the 'ms-dlgContent' class. Values will change based on current screen. <div style="z-index: 1505; display: block; width: 622px; height: 382px; left: 39px; top: 10px;"> |
| .ms-dlgBorder | Applied to DIV element that wraps the dialog box; child of 'ms-dlgContent' DIV element. Controls the inner border color around the dialog box. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-dlgTitle | Applied to DIV element that contains the title bar; child of the 'ms-dlgBorder' DIV element. This DIV also includes an inline style for width; values will change based on current screen. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-dlgTitleText | Applied to SPAN element that wraps the title bar text; child of the 'ms-dlgTitle' DIV element. This SPAN also includes an inline style for width; values will change based on current screen. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-dlgTitleBtns | Applied to SPAN element that wraps the right buttons in title bar for window close and window maximize/minimize; child of the 'ms-dlgTitle' DIV element. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-dlgCloseBtn | Applied to the ANCHOR elements that wrap the maximize/minimize and close buttons; child of the 'ms-dlgTitleBtns' SPAN element. Only used as a parent in descendant selector style statements. |
| .ms-dlgCloseBtn span | Controls the SPAN element that wraps the image for maximize/minimize and close buttons; child of the 'ms-dlgCloseBtn' ANCHOR element. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| SPAN with inline styles | Applied to SPAN element that wraps the image for maximize/minimize and close buttons; child of the 'ms-dlgCloseBtn' ANCHOR element. Applied in conjunction with the 's4-clust' class. <span class="s4-clust" style="height:18px;width:18px;position:relative;display:inline-block;overflow:hidden;"> |
| .ms-dlgCloseBtnImg | Applied to the IMG elements for the dialog box close and maximize/minimize icons; child of the SPAN with inline styles. The image is part of a CSS Sprite. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| IMG with inline styles | Dialog box close and maximize/minimize icons; child of the SPAN with inline styles. The image is part of a CSS Sprite. <img class="ms-dlgCloseBtnImg" style="left:-0px !important;top:-676px !important;position:absolute;" src="/_layouts/images/fgimg.png"> |
Styles for Dialog Box Content Area Wrapper![]() | |
| .ms-dlgFrameContainer | Applied to DIV element that wraps the dialog box contents under the title bar area. The contents are in an iFrame. Child of the 'ms-dlgBorder' DIV element. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-dlgFrame | Applied to IFRAME element that contains the dialog box contents under the title bar area; child of the 'ms-dlgFrameContainer' DIV element. iFrame also has inline styles applied for width and height that will change based on current screen. <iframe frameborder="0" style="width: 601px; height: 271px;"> Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-dialog | Applied to HTML element that is the start of the dialog box contents within the iFrame; child of the 'ms-dlgFrame' IFRAME element. Only used as a parent selector in descendent selector style statements. This is a great class to use to target components when in the dialog box view. Essentially a copy of the web page code is repeated in the dialog box iFrame. Use this class to target components that are needed elsewhere in the site. For example, hide a custom navigation system or change the display of text. |
| .ms-dlgOverlay | Applied to DIV element that creates browser window shading under the dialog box window. DIV also has inline styles applied for width, height, display and z-index that will change based on current screen. <div class="ms-dlgOverlay" style="display: block; z-index: 1504; width: 623px; height: 598px;"> Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| #s4-mainarea | Applied to DIV element that contains the lower content area components including left navigation and right side content; child of the 's4-bodyContainer' DIV element. Applied in conjunction with the 's4-pr' and 's4-widecontentarea' classes. Included in the master page. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
|---|---|
| .s4-widecontentarea | Applied to DIV element that contains the lower content area components including left navigation and right side content; child of the 's4-bodyContainer' DIV element. Applied in conjunction with the 's4-pr' class and 's4-mainarea' ID. Included in the master page. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) Found in: LAYOUTS\STYLES\dlgframe.css (toggle code) |
| #s4-leftpanel | Applied to DIV element that wraps the left panel components; child of the 's4-mainarea' DIV element. Included in the master page. Display is set to none but the DIV displays anyways. Found in: LAYOUTS\1033\STYLES\mysitelayout.css (toggle code) Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .s4-leftpanel-content | Applied to DIV element that contains the left panel components; child of the 's4-leftpanel' DIV element. Included in the master page. |
| #MSO_ContentTable | Applied to DIV element that wraps the content area; child of the 's4-mainarea' DIV element. Applied in conjunction with the 's4-ca' and 's4-ca-dlgNoRibbon' classes. Referenced in many script files. Included in the master page. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .s4-ca | Applied to DIV element that wraps the content area; child of the 's4-mainarea' DIV element. Applied in conjunction with the 'MSO_ContentTable' ID and 's4-ca-dlgNoRibbon' class. Included in the master page. It is assumed that "ca" stands for content area. Found in: LAYOUTS\1033\STYLES\mysitelayout.css (toggle code) Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) Found in: LAYOUTS\STYLES\dlgframe.css (toggle code) |
| .s4-ca-dlgNoRibbon | Applied to DIV element that wraps the content area; child of the 's4-mainarea' DIV element. Applied in conjunction with the 'MSO_ContentTable' ID and 's4-ca' class. Included in the master page. Found in: LAYOUTS\STYLES\dlgframe.css (toggle code) |
| .s4-ba | Applied to DIV element that wraps the body area ; child of the 'MSO_ContentTable' DIV element. Included in the master page. It is assumed that "ba" stands for body area. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-bodyareacell | Applied to DIV element that wraps the container for PlaceHolderMain; child of the 's4-ba' DIV element. Included in the master page. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) Found in: LAYOUTS\INC\ifsmain.css (toggle code) Found in: LAYOUTS\STYLES\dlgframe.css (toggle code) |
| #MSO_ContentDiv | Applied to DIV element that contains the main content placeholder (PlaceHolderMain); child of the 'ms-bodyareacell' DIV element. Required in order to render the Web Part Tool Pane. Included in the master page. |
| .ms-descriptiontext | General usage description text; various instances are controlled with descendant selectors. Found in: LAYOUTS\1033\STYLES\BLOG.CSS (toggle code) Found in: LAYOUTS\1033\STYLES\mysitelayout.css (toggle code) Found in: LAYOUTS\1033\STYLES\OWSNOCR.CSS (toggle code) Found in: LAYOUTS\1033\STYLES\PICKERTREE.CSS (toggle code) Found in: LAYOUTS\1033\STYLES\LAYOUTS.CSS (toggle code) Found in: LAYOUTS\1033\STYLES\Themable\BLOG.CSS (toggle code) Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
Container Styles for Quick Launch![]() | |
|---|---|
| .ms-quicklaunchouter | Applied to DIV element that wraps the Quick Launch DIV element; child of the 's4-leftpanel-content' DIV element. Included in the master page. Found in: FEATURES\PublishingLayouts\en-us\Band.css (toggle code) Found in: FEATURES\PublishingLayouts\en-us\Vertical.css (toggle code) Found in: FEATURES\PublishingLayouts\en-us\SingleLevel.css (toggle code) Found in: FEATURES\PublishingLayouts\en-us\Tabs.css (toggle code) Found in: LAYOUTS\1033\STYLES\mysitelayout.css (toggle code) Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-quickLaunch | Applied to DIV element that wraps the Quick Launch; child of the 'ms-quicklaunchouter' DIV element. Also used as a parent in descendant selector style statements. Included in the master page. Found in: LAYOUTS\1033\STYLES\datepicker.css (toggle code) Found in: LAYOUTS\1033\STYLES\datepickerv4.css (toggle code) Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-quicklaunch-navmgr | Applied to DIV element that wraps the Quick Launch; child of the 'ms-quickLaunch' DIV element. Only used in an adjacent sibling selector style statement. Included in the master page. Set as the value for CssClass property in the QuickLaunchNavigationManager SharePoint Navigation Manager. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .s4-ql | Applied to a DIV element that wraps the Quick Launch; child of a DIV (no ID or class) that is the child of the 'ms-quicklaunch-navmgr' DIV element. Included in the master page and set as the value for the CssClass property in V4QuickLaunchMenu SharePoint AspMenu. Also used as a parent in descendant selector style statements. It is assumed that "ql" stands for Quick Launch. Found in: LAYOUTS\1033\STYLES\PICKERTREE.CSS (toggle code) Found in: LAYOUTS\1033\STYLES\LAYOUTS.CSS (toggle code) Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
Unordered List Styles for Quick Launch![]() | |
| .menu ul | Controls the generated navigation UL element that is a child of the 'menu' DIV element. Be careful creating custom styles as this same class name is applied to the LI element and wrapping ANCHOR element; styles are also shared with Top Navigation Bar (Global Navigation). Found in: LAYOUTS\1033\STYLES\menu-21.css (toggle code) Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .menu | Applied to DIV element that wraps the generated menu; child of the 's4-ql' DIV element. Applied in conjunction with the 'vertical' and 'menu-vertical' classes. Also used as a parent selector in descendent selector style statements in Corev4.css. HTML element with CSS class is generated by AspMenu; be careful when editing styles, this is shared with Top Navigation Bar (Global Navigation). Found in: FEATURES\PublishingLayouts\en-us\band-21.css (toggle code) Found in: FEATURES\PublishingLayouts\en-us\single-level-21.css (toggle code) |
| .vertical | Applied to DIV element that wraps the generated menu; child of the 's4-ql' DIV element. Applied in conjunction with the 'menu' and 'menu-vertical' classes. Only used as a parent in descendent selector style statements. |
| .menu-vertical | Applied to DIV element that wraps the generated menu; child of the 's4-ql' DIV element. Applied in conjunction with the 'menu' and 'vertical' classes. Only used as a parent in descendent selector style statements. Found in: FEATURES\PublishingLayouts\en-us\single-level-21.css (toggle code) |
| .menu li | Controls the generated LI element that contains a navigation item. Be careful creating custom styles as this same class name is applied to the LI element and wrapping ANCHOR element; styles are also shared with Top Navigation Bar (Global Navigation). Found in: LAYOUTS\1033\STYLES\menu-21.css (toggle code) Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .root | Applied to generated navigation UL element; child of the 'menu-vertical' DIV element. Applied in conjunction with the 'static' class. Only used in descendent/child selectors in other style statements. OOTB this class is also used for the top navigation bar yet no styles are specified. Found in: FEATURES\PublishingLayouts\en-us\band-21.css (toggle code) |
| ul.static | Applied to generated navigation UL element; child of the 'menu-vertical' DIV element. Applied in conjunction with the 'root' class. Also applied to generated nested navigation UL element for instances where there is a second tier of navigation items (lists, libraries, wiki pages or custom links). In this case the UL is a child of the 'static' LI element. HTML element with CSS class is generated by AspMenu; OOTB, this is not used for Quick Launch, but is used for the top horizontal menu Found in: LAYOUTS\1033\STYLES\menu-21.css (toggle code) Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .menu li | Controls the generated LI element that contains a navigation item. Be careful creating custom styles as this same class name is applied to the LI element and wrapping ANCHOR element; styles are also shared with Top Navigation Bar (Global Navigation). Found in: LAYOUTS\1033\STYLES\menu-21.css (toggle code) Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| li.static | Applied to generated LI element that contains a navigation item. OOTB no style statements are present that affect the Quick Launch. The style properties listed is combined with 'a.static'; be careful when creating custom styles as this same class name is applied to the UL element and wrapping anchor; styles are also shared with Top Navigation Bar (Global Navigation). Found in: FEATURES\PublishingLayouts\en-us\single-level-21.css (toggle code) |
| li.selected | Applied to generated LI element that contains a navigation item that is the currently selected navigation item (generally seen in Publishing site sub nav). In OOTB SharePoint, no style statements exist that use this class name AND the LI element in the selector. Be careful creating custom styles as this same class name is applied to the wrapping ANCHOR element; styles are shared with Top Navigation Bar (Global Navigation). |
| .s4-sn li.static > a | Controls the ANCHOR elements that wrap a navigation item in My Sites. Found in: LAYOUTS\1033\STYLES\mysitelayout.css (toggle code) |
| .s4-sn li.static > a:hover | Hover state for the ANCHOR elements that wrap a navigation item in My Sites. Found in: LAYOUTS\1033\STYLES\mysitelayout.css (toggle code) |
| a.static | Applied to generated ANCHOR element that wraps the navigation item; nested in the LI element. Applied in conjunction with the 'menu-item' class. The style properties listed is combined with 'li.static'; be careful when creating custom styles as this same class name is applied to the UL element and LI element; styles are also shared with Top Navigation Bar (Global Navigation). Found in: FEATURES\PublishingLayouts\en-us\band-21.css (toggle code) Found in: FEATURES\PublishingLayouts\en-us\single-level-21.css (toggle code) Found in: LAYOUTS\1033\STYLES\menu-21.css (toggle code) Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| a.static:hover | Hover state for 'a.static' ANCHOR element. Found in: FEATURES\PublishingLayouts\en-us\band-21.css (toggle code) Found in: FEATURES\PublishingLayouts\en-us\single-level-21.css (toggle code) |
| .menu-item | Applied to generated ANCHOR element that wraps the navigation item. Applied in conjunction with 'static' class. Also used as a parent in descendent selector style statements. Some styles are shared with Top Navigation Bar (Global Navigation). Found in: LAYOUTS\1033\STYLES\menu-21.css (toggle code) Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| a.selected | Applied to generated ANCHOR element that wraps the navigation item that is the currently selected navigation item (generally seen in Publishing site sub nav). Be careful creating custom styles as this same class name is applied to the LI element; styles are also shared with Top Navigation Bar (Global Navigation). Found in: LAYOUTS\1033\STYLES\mysitelayout.css (toggle code) Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .additional-background | Applied to generated SPAN element that wraps the navigation item text container; child of the 'menu-item' ANCHOR element. Sets the fly-out arrow image(s) for dynamic menus when present. Also used as a parent in child selector style statements. Some of the style properties listed is combined with 'menu-item-text' class; styles are also shared with Top Navigation Bar (Global Navigation). Found in: FEATURES\PublishingLayouts\en-us\band-21.css (toggle code) Found in: LAYOUTS\1033\STYLES\menu-21.css (toggle code) Found in: LAYOUTS\1033\STYLES\PORTAL.CSS (toggle code) Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .menu-item-text | Applied to generated SPAN element that wraps the navigation item text; child of the 'additional-background' SPAN element. Some of the style properties listed is combined with 'additional-background' class; some styles are also shared with Top Navigation Bar (Global Navigation). Found in: FEATURES\PublishingLayouts\en-us\band-21.css (toggle code) Found in: LAYOUTS\1033\STYLES\menu-21.css (toggle code) Found in: LAYOUTS\1033\STYLES\PORTAL.CSS (toggle code) Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| ul.dynamic, li.dynamic, a.dynamic | If the code has been edited and the Quick Launch generates drop-down/fly-out menus, please refer to the entries for these style classes under Top Navigation Bar. Both navigation systems share the classes. |
| .s4-treeView | Set as the value for the CssClass property in TreeViewNavigationManagerV4 SPNavigationManager control. Only used in an adjacent sibling selector style statement. Included in the master page. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-treeviewouter | Applied to the DIV element that wraps the tree view navigation. Included in master page. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-tvselected | Set as the value for the SelectedNodeStyle-CssClass property in the WebTreeViewV4 SPTreeView control. Included in master page. |
| .s4-qlheader | Applied to the element that wraps the View All Site Content link. Set as the value for the CssClass property in the idNavLinkSiteHierarchyV4 SPLink Button control. Included in the master page. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-rte-wpbox | Applied to DIV element that wraps the web part table when the web part is in a rich text editor (as compared to the web part being in a web part zone). Applied in conjunction with the 'ms-rtestate-read' class. Found in: LAYOUTS\1033\STYLES\CONTROLS.CSS (toggle code) Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
|---|---|
| .s4-wpcell | Applied to TD element that contains the web part table. |
| .s4-wpcell:hover | Applied to TD element that contains the web part table when the user hovers over the web part. Only used as a parent in descendent selector style statements. |
| .s4-wpActive | Applied to TD element that contains the web part table when the web part is clicked on in the interface. Only used as a parent in descendent selector style statements. |
| .s4-wpTopTable | Applied to TABLE element that contains the web part components; child of the 's4-wpcell' TD element. Found in: LAYOUTS\1033\STYLES\WPEDITMODEV4.CSS (toggle code) Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-WPSelected | Assumed that this is applied to the TABLE element that contains the web part components when the web part is selected. Found in: LAYOUTS\1033\STYLES\WPEDITMODE.CSS (toggle code) Found in: LAYOUTS\1033\STYLES\WPEDITMODEV4.CSS (toggle code) Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
Web Part Title Bar Styles![]() | |
| .ms-WPHeader | Applied to TR element that contains the web part title bar; child of a TABLE (no ID or class) element that is a child of the 's4-wpTopTable' TABLE element. Also used as a parent in descendent selector style statements. Found in: LAYOUTS\1033\STYLES\mysitelayout.css (toggle code) Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-WPHeader td | Controls TD elements in a 'ms-WPHeader' TR element. Found in: LAYOUTS\1033\STYLES\PORTAL.CSS (toggle code) Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-wpTdSpace | Applied to TD elements that are the first and last cells in the web part title bar to provide spacing to the right and left of the title text; children of the 'ms-WPHeader' TR element. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-WPHeaderTd | Applied to TD element that contains the title text; child of the 'ms-WPHeader' TR element. In OOTB SharePoint, no style statements exist that use this class name. |
| .ms-WPTitle | Applied to H3 element that wraps the title text; child of the 'ms-WPHeaderTd' TD element. Applied in conjunction with the 'ms-standardheader' class. Found in: LAYOUTS\1033\STYLES\mysitelayout.css (toggle code) Found in: LAYOUTS\1033\STYLES\PORTAL.CSS (toggle code) Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-WPTitle a | Controls the ANCHOR elements within the 'ms-WPTitle' H3 element. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-WPTitle a:link | Controls the ANCHOR elements within the 'ms-WPTitle' H3 element. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-WPTitle a:visited | Visited state for the ANCHOR elements within the 'ms-WPTitle' H3 element. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-WPTitle a:hover | Hover state for the ANCHOR elements within the 'ms-WPTitle' H3 element. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
Web Part Title Bar Styles - Edit Functions![]() | |
| .ms-WPHeaderTdMenu | Applied to TD element that contains the web part edit menu arrow that appears when you hover on the web part title bar; child of the 'ms-WPHeader' TR element. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-WPMenuDiv | Applied to DIV element that contains the web part edit menu arrow that appears when you hover on the web part title bar; child of the 'ms-WPHeaderTdMenu' TD element. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-WPMenuDivHover | Applied to DIV element when a user hovers over the web part edit menu arrow in the web part title bar; child of the 'ms-WPHeaderTdMenu' TD element. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-wpselectlink | Applied to ANCHOR element that wraps the web part edit menu arrow image in the web part title bar; child of the 'ms-WPMenuDiv' DIV element. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-wpselectlinkfocus | Applied to ANCHOR element when a user hovers over the web part edit menu arrow image in the web part title bar; child of the 'ms-WPMenuDiv' DIV element. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-WPEditText and .ms-WPEditTextVisible | Applied to ANCHOR element when a user selects the web part edit menu arrow image in the web part title bar; child of the 'ms-WPMenuDiv' DIV element. Found in: LAYOUTS\1033\STYLES\WPEDITMODE.CSS (toggle code) |
| .ms-WPHeaderMenuImg | Applied to IMG element that is the web part edit menu arrow in the web part title bar; child of the 'ms-wpselectlink' ANCHOR element. Image also has an inline style set for the border. <img style="border-width:0px;" class="ms-WPHeaderMenuImg"> Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-WPHeaderTdSelection | Applied to TD element that wraps a web part checkbox that appears when the user hovers over a web part; child of the 'ms-WPHeader' TR element. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-WPHeaderTdSelSpan | Applied to SPAN element that contains the web part checkbox that appears when the user hovers over a web part; child of the 'ms-WPHeaderTdSelection' TD element. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-WPHeaderCbxHidden | Checkbox that appears when the user hovers over the web part; child of the 'ms-WPHeaderTdSelSpan' SPAN element. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-WPHeaderCbxVisible | Applied to the web part checkbox when the user hovers over the web part; child of the 'ms-WPHeaderTdSelSpan' SPAN element. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-wpContentDivSpace | Applied to DIV element that wraps the web part body table; child of the 's4-wpTopTable' TABLE element. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| Web Part Body Styles | Refer to the Lists section in this chart. |
| .ms-standardheader | General usage header; various instances are controlled with descendant selectors to create different styles. Sample:
Found in: LAYOUTS\1033\STYLES\PICKERTREE.CSS (toggle code) Found in: LAYOUTS\1033\STYLES\LAYOUTS.CSS (toggle code) Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
|---|
| .ms-listviewtable | Applied to TABLE element that wraps a list view. Also used as a parent in descendent and child selector style statements. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
|---|---|
| .ms-viewheadertr | Applied to TR element that contains a list view header row. Also used as a parent in descendent and child selector style statements. Sample:
Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-vhltr and .ms-vhrtl | Applied to TR element as appropriate (left-to-right or right-to-left language display) that contains a list view header row. Only used as a parent in descendent selector style statements. |
| .ms-vh2-nobg | Applied to TR element that wraps a vertical header row without a background. Used as a parent in descendent selector style statements. |
| .ms-vh2-nofilter | Applied to TH element that is a vertical header without a filter. Also used as a parent in descendent selector style statements. Sample:
Found in: LAYOUTS\1033\STYLES\PICKERTREE.CSS (toggle code) Found in: LAYOUTS\1033\STYLES\SiteManagerCustomStyles.css (toggle code) Found in: LAYOUTS\1033\STYLES\LAYOUTS.CSS (toggle code) Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-vh2-nofilter a | Controls ANCHOR elements within a vertical header without a filter. Found in: LAYOUTS\1033\STYLES\PICKERTREE.CSS (toggle code) Found in: LAYOUTS\1033\STYLES\LAYOUTS.CSS (toggle code) |
| .s4-selectAllCbx | Checkbox to select all list items. In OOTB SharePoint, no style statements exist that use this class name Sample:
|
| .ms-vh | Applied to TH element that is vertical header text - variation 1; various instances are controlled with descendant selectors; widely used across SharePoint. Properties are spread out across several style declarations. Found in: LAYOUTS\1033\STYLES\OWSNOCR.CSS (toggle code) Found in: LAYOUTS\1033\STYLES\SiteManagerCustomStyles.css (toggle code) Found in: LAYOUTS\1033\STYLES\PORTAL.CSS (toggle code) Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) Found in: LAYOUTS\1033\STYLES\SEARCH.CSS (toggle code) |
| .ms-vh a | Controls ANCHOR elements within vertical header text, variation 1. Found in: LAYOUTS\1033\STYLES\OWSNOCR.CSS (toggle code) Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-vh2 | Applied to TH element that is vertical header text - variation 2; various instances are controlled with descendant selectors; widely used across SharePoint. Sample:
Properties are spread out across several style declarations. Found in: LAYOUTS\1033\STYLES\PICKERTREE.CSS (toggle code) Found in: LAYOUTS\1033\STYLES\SiteManagerCustomStyles.css (toggle code) Found in: LAYOUTS\1033\STYLES\LAYOUTS.CSS (toggle code) Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-vh2:hover | Hover state for the 'ms-vh2' class. Sample:
Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-vh2 a | Controls ANCHOR elements within vertical header text, variation 2. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-vh-icon | Container for icon in a vertical header. Sample:
Found in: LAYOUTS\1033\STYLES\SiteManagerCustomStyles.css (toggle code) Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-vh-div | Applied to DIV element that wraps some of the vertical header components. Also used as a parent in descendent selector style statements. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-gb | Applied to TD element that wraps a list title bar - variation 1. Also used as a parent in descendent selector style statements. Sample:
Found in: LAYOUTS\1033\STYLES\PICKERTREE.CSS (toggle code) Found in: LAYOUTS\1033\STYLES\SiteManagerCustomStyles.css (toggle code) Found in: LAYOUTS\1033\STYLES\LAYOUTS.CSS (toggle code) Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-gb a | Controls ANCHOR elements within title bars - variation 1. Found in: LAYOUTS\1033\STYLES\SiteManagerCustomStyles.css (toggle code) Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-gb2 | Applied to TD element that wraps a list title bar - variation 2. Also used as a parent in descendent selector style statements. Found in: LAYOUTS\1033\STYLES\SiteManagerCustomStyles.css (toggle code) Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-gb2 a | Controls ANCHOR elements within title bars - variation 2. Found in: LAYOUTS\1033\STYLES\SiteManagerCustomStyles.css (toggle code) Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-itmhover | Applied to TR elements in a list. Only used as a parent in descendent and child selector style statements. |
| tr.ms-itmhover:hover | Hover state for the 'ms-itmhover' class. Also used as a parent in descendent and child selector style statements. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| tr.ms-itmhover:hover > td | Controls TD element treatment when the user hovers over the list item row. Sample:
Text treatment is the 'tr.ms-itmhover a:hover' style statement. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-alternating | Applied to alternating TR elements in a list. Found in: LAYOUTS\1033\STYLES\PICKERTREE.CSS (toggle code) Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-vb-firstCell | Applied to TD element that is the first table cell in a list row. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-vb-lastCell | Applied to TD element that is the last table cell in a list row. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-vb-itmcbx | Applied to TD element that wraps an item checkbox that appears when the user hovers over a list item (must be enabled on the list). Sample:
Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .s4-itm-cbx | Checkbox that appears when the user hovers over a list item (must be enabled on the list). Sample:
Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-vb | Vertical body text - variation 1; various instances are controlled with descendant selectors; widely used across SharePoint. Sample:
Properties are spread out across several style declarations. Found in: LAYOUTS\1033\STYLES\GROUPBOARD.CSS (toggle code) Found in: LAYOUTS\1033\STYLES\mysitelayout.css (toggle code) Found in: LAYOUTS\1033\STYLES\OWSNOCR.CSS (toggle code) Found in: LAYOUTS\1033\STYLES\SiteManagerCustomStyles.css (toggle code) Found in: LAYOUTS\1033\STYLES\PORTAL.CSS (toggle code) Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) Found in: LAYOUTS\1033\STYLES\SEARCH.CSS (toggle code) |
| .ms-vb a | Controls ANCHOR elements within vertical body text, variation 1. Found in: LAYOUTS\1033\STYLES\OWSNOCR.CSS (toggle code) Found in: LAYOUTS\1033\STYLES\SiteManagerCustomStyles.css (toggle code) Found in: LAYOUTS\1033\STYLES\PORTAL.CSS (toggle code) Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) Found in: LAYOUTS\1033\STYLES\SEARCH.CSS (toggle code) |
| .ms-vb2 | Vertical body text - variation 2; various instances are controlled with descendant selectors; widely used across SharePoint. Sample:
Properties are spread out across several style declarations. Found in: LAYOUTS\1033\STYLES\PICKERTREE.CSS (toggle code) Found in: LAYOUTS\1033\STYLES\SiteManagerCustomStyles.css (toggle code) Found in: LAYOUTS\1033\STYLES\LAYOUTS.CSS (toggle code) Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-vb2 a | Controls ANCHOR elements within vertical body text, variation 2. Sample:
Found in: LAYOUTS\1033\STYLES\SiteManagerCustomStyles.css (toggle code) |
| tr.ms-itmhover a:hover | Hover state for ANCHOR elements within vertical body text. Sample:
Background treatment is the 'tr.ms-itmhover:hover > td' style statement. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-vb-icon | Container for icon in a list item in the body. Sample:
Found in: LAYOUTS\1033\STYLES\mysitelayout.css (toggle code) Found in: LAYOUTS\1033\STYLES\PICKERTREE.CSS (toggle code) Found in: LAYOUTS\1033\STYLES\SiteManagerCustomStyles.css (toggle code) Found in: LAYOUTS\1033\STYLES\LAYOUTS.CSS (toggle code) Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) Found in: LAYOUTS\STYLES\corefixup.css (toggle code) |
| .ms-vb-title | Applied to TD element that wraps the item's Title field in the row. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .s4-ctx | Applied to DIV element that wraps the column header text/item text edit menu arrow that appears when you hover over the column header title/item text. Sample:
Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .s4-ctx-show | Applied to DIV element that wraps the column header text/item text edit menu arrow that appears when you hover over the column header title/item text. This is activated when you hover over the item. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .s4-ctx-show:hover | Hover state for the 's4-ctx-show' class. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .s4-itm-selected | Applied to TR element for a list item when the user selects the item. Also used as a parent in descendent and child selector style statements. Sample:
Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .s4-itm-selected:hover | Hover state for the 's4-itm-selected' class. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-partline | Applied to TD element that wraps an image; provides the bottom border between the list view and the Add New Item link. Sample:
Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| td.ms-addnew | Applied to TD element that wraps an Add New Item link. Sample:
Found in: LAYOUTS\1033\STYLES\BLOG.CSS (toggle code) Found in: LAYOUTS\1033\STYLES\Themable\BLOG.CSS (toggle code) Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| a.ms-addnew | Applied to ANCHOR element for the Add New Item link. Sample:
Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-formtoolbar | Applied to TABLE element that contains a form toolbar. Found in: LAYOUTS\1033\STYLES\FORMS.CSS (toggle code) Found in: LAYOUTS\1033\STYLES\SiteManagerCustomStyles.css (toggle code) |
|---|---|
| .ms-formtoolbar td | Controls TD elements in the 'ms-formtoolbar' TABLE element. Found in: LAYOUTS\1033\STYLES\FORMS.CSS (toggle code) |
| .ms-formtable | Applied to TABLE element that contains a form. In OOTB SharePoint, no style statements exist that use this class name. |
| .ms-formlabel | Applied to TD element that contains a form label; child of the 'ms-formtable' TABLE element. Found in: LAYOUTS\1033\STYLES\FORMS.CSS (toggle code) Found in: LAYOUTS\1033\STYLES\OWSNOCR.CSS (toggle code) Found in: LAYOUTS\1033\STYLES\PICKERTREE.CSS (toggle code) Found in: LAYOUTS\1033\STYLES\SURVEY.CSS (toggle code) Found in: LAYOUTS\1033\STYLES\LAYOUTS.CSS (toggle code) Found in: LAYOUTS\STYLES\corefixup.css (toggle code) |
| .ms-formbody | Applied to TD element that contains a value for a form field; child of the 'ms-formtable' TABLE element. Found in: LAYOUTS\1033\STYLES\FORMS.CSS (toggle code) Found in: LAYOUTS\1033\STYLES\OWSNOCR.CSS (toggle code) Found in: LAYOUTS\1033\STYLES\SURVEY.CSS (toggle code) Found in: LAYOUTS\STYLES\corefixup.css (toggle code) |
| .ms-formline | Applied to TD element that creates a final separator in the form. Sample:
Found in: LAYOUTS\1033\STYLES\FORMS.CSS (toggle code) |
| .ms-long | INPUT element. Sample:
Found in: FEATURES\PublishingLayouts\en-us\edit-mode-21.css (toggle code) Found in: FEATURES\PublishingLayouts\en-us\zz2_EditMode.css (toggle code) Found in: LAYOUTS\1033\STYLES\BLOG.CSS (toggle code) Found in: LAYOUTS\1033\STYLES\FORMS.CSS (toggle code) Found in: LAYOUTS\1033\STYLES\OWSNOCR.CSS (toggle code) Found in: LAYOUTS\1033\STYLES\PICKERTREE.CSS (toggle code) Found in: LAYOUTS\1033\STYLES\LAYOUTS.CSS (toggle code) Found in: LAYOUTS\1033\STYLES\Themable\BLOG.CSS (toggle code) |
| .ms-ButtonHeightWidth | Button style. Sample:
Found in: LAYOUTS\1033\STYLES\BLOG.CSS (toggle code) Found in: LAYOUTS\1033\STYLES\Themable\BLOG.CSS (toggle code) Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-ButtonHeightWidth2 | Button style. Found in: LAYOUTS\1033\STYLES\BLOG.CSS (toggle code) Found in: LAYOUTS\1033\STYLES\Themable\BLOG.CSS (toggle code) Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-NarrowButtonHeightWidth | Button style. Found in: LAYOUTS\1033\STYLES\PICKERTREE.CSS (toggle code) Found in: LAYOUTS\1033\STYLES\LAYOUTS.CSS (toggle code) Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-rteStyle-Normal | 'Normal' style in RTE Styles drop down list in Ribbon. Sample:
Found in: LAYOUTS\1033\STYLES\CONTROLS.CSS (toggle code) Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
|---|---|
| .ms-rteStyle-Highlight | 'Highlight' style in RTE Styles drop down list in Ribbon. Sample:
Found in: LAYOUTS\1033\STYLES\CONTROLS.CSS (toggle code) Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-rteStyle-Byline | 'By line' style in RTE Styles drop down list in Ribbon. Sample:
Found in: LAYOUTS\1033\STYLES\CONTROLS.CSS (toggle code) Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-rteStyle-Tagline | 'Tag line' style in RTE Styles drop down list in Ribbon. Sample:
Found in: LAYOUTS\1033\STYLES\CONTROLS.CSS (toggle code) Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-rteStyle-Comment | 'Comment' style in RTE Styles drop down list in Ribbon. Sample:
Found in: LAYOUTS\1033\STYLES\CONTROLS.CSS (toggle code) Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-rteStyle-References | 'References' style in RTE Styles drop down list in Ribbon. Sample:
Found in: LAYOUTS\1033\STYLES\CONTROLS.CSS (toggle code) Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-rteStyle-Caption | 'Caption' style in RTE Styles drop down list in Ribbon. Sample:
Found in: LAYOUTS\1033\STYLES\CONTROLS.CSS (toggle code) Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-rteElement-H1 | 'Heading 1' style in RTE Markup Styles drop down list in Ribbon. Sample:
Found in: LAYOUTS\1033\STYLES\CONTROLS.CSS (toggle code) Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-rteElement-H2 | 'Heading 2' style in RTE Markup Styles drop down list in Ribbon. Sample:
Found in: LAYOUTS\1033\STYLES\CONTROLS.CSS (toggle code) Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-rteElement-H3 | 'Heading 3' style in RTE Markup Styles drop down list in Ribbon. Sample:
Found in: LAYOUTS\1033\STYLES\CONTROLS.CSS (toggle code) Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-rteElement-H4 | 'Heading 4' style in RTE Markup Styles drop down list in Ribbon. Sample:
Found in: LAYOUTS\1033\STYLES\CONTROLS.CSS (toggle code) Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-rteElement-H1B | 'Colored Heading 1' style in RTE Markup Styles drop down list in Ribbon. Sample:
Found in: LAYOUTS\1033\STYLES\CONTROLS.CSS (toggle code) Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-rteElement-H2B | 'Colored Heading 2' style in RTE Markup Styles drop down list in Ribbon. Sample:
Found in: LAYOUTS\1033\STYLES\CONTROLS.CSS (toggle code) Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-rteElement-H3B | 'Colored Heading 3' style in RTE Markup Styles drop down list in Ribbon. Sample:
Found in: LAYOUTS\1033\STYLES\CONTROLS.CSS (toggle code) Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-rteElement-H4B | 'Colored Heading 4' style in RTE Markup Styles drop down list in Ribbon. Sample:
Found in: LAYOUTS\1033\STYLES\CONTROLS.CSS (toggle code) Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-rteElement-Hr | 'Horizontal Rule' style in RTE Markup Styles drop down list in Ribbon. Sample:
Found in: LAYOUTS\1033\STYLES\CONTROLS.CSS (toggle code) Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-rteElement-P | 'Paragraph' style in RTE Markup Styles drop down list in Ribbon. Sample:
Found in: LAYOUTS\1033\STYLES\CONTROLS.CSS (toggle code) Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-rteElement-Callout1 | 'Callout 1' style in RTE Markup Styles drop down list in Ribbon. Sample:
Found in: LAYOUTS\1033\STYLES\CONTROLS.CSS (toggle code) Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-rteElement-Callout2 | 'Callout 2' style in RTE Markup Styles drop down list in Ribbon. Sample:
Found in: LAYOUTS\1033\STYLES\CONTROLS.CSS (toggle code) Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-rteElement-Callout3 | 'Callout 3' style in RTE Markup Styles drop down list in Ribbon. Sample:
Found in: LAYOUTS\1033\STYLES\CONTROLS.CSS (toggle code) Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-rteElement-Callout4 | 'Callout 4' style in RTE Markup Styles drop down list in Ribbon. Sample:
Found in: LAYOUTS\1033\STYLES\CONTROLS.CSS (toggle code) Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
Styles for Site Setting Links![]() | |
|---|---|
| .ms-linksection-level1 | Applied to TR element that contains links and other components. Used extensively as a parent in descendent selector style statements. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-linksection-level1 td | Controls TD elements in a 'ms-linksection-level1' TR element. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-linksection-level1 h3 | Controls H3 elements in a 'ms-linksection-level1' TR element. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-linksection-level1 h3 a | Controls ANCHOR elements within a H3 element in a 'ms-linksection-level1' TR element. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-linksection-level1 h3 a:hover | Hover effect for '.ms-linksection-level1 h3 a' class. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-linksection-level1 img | Controls IMG elements in a 'ms-linksection-level1' TR element. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-linksection-level1 ul | Controls UL elements in a 'ms-linksection-level1' TR element. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-linksection-level1 ul li | Controls LI elements in a UL element in a 'ms-linksection-level1' TR element. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-linksection-level1 ul li a | Controls ANCHOR elements within a LI element in a UL element in a 'ms-linksection-level1' TR element. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-linksection-level1 ul li a:hover | Hover effect for '.ms-linksection-level1 ul li a' class. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
Nested styles for Ribbon container![]() | |
|---|---|
| #s4-ribbonrow | Applied to outermost parent DIV. Classes are also set (see below). Creates a minimum 43px height and allows groups that cannot be fit into the browser horizontally (after scaling browser window size) to "fall off the edge" of the ribbon; background color appears on some content pages. Included in master page; must remain in master page for proper Ribbon functionality and modal dialog box styles. A separate instance of the style is nested in a sub grouping of print only styles. This instance hides the Ribbon from print view. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) Found in: LAYOUTS\STYLES\dlgframe.css (toggle code) |
| .s4-ribbonrowhidetitle | Applied to outermost parent '#s4-ribbonrow' DIV in conjunction with s4-pr (both classes are set in the DIV); used by the Ribbon positioning system to convey current Ribbon state; 's4-ribbonrowhidetitle' is the default and is changed when the ECMAScript code initializes. Included in master page; must remain in master page for proper Ribbon functionality. No styles are present in OOTB SharePoint. Add your own style statement to hide the Ribbon by default on page load. |
| #s4-ribboncont | First nested DIV; child of '#s4-ribbonrow' DIV element. Creates background image (via CSS Sprite) however it doesn't seem to be using this background image. Changes to the style don't affect anything - it may be used on a different SharePoint screen that has not been tested for this specifically. Included in master page. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| #RibbonContainer | Second nested DIV; child of '#s4-ribboncont' DIV element. PlaceholderElementId value in 'SPRibbon' control. Sets height to auto when Ribbon is active. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| #Ribbon | Third nested DIV; child of '#RibbonContainer' DIV element. Set in conjunction with '.ms-cui-ribbon'. '.ms-cui-ribbon' is assigned as a class to this DIV; styles are provided for this class and none are provided for this ID. This ID can be referenced in custom code to control the upper portion of the Ribbon (tabs and labels), such as adding a background. |
| .ms-cui-ribbon | Third nested DIV; child of '#RibbonContainer'. Set in conjunction with '#Ribbon'. Also used as a parent selector in descendent selectors for anchors and images. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
Styles that wrap Ribbon tab area (above Ribbon commands)
Ribbon Prefix GuideSeveral style statements reference color codes that are used for the various ribbon tab groups. Here is a legend for these style statements:
-db : Document Libraries (dark blue) | |
|---|---|
| .ms-cui-ribbonTopBars | Fourth nested DIV; child of 'ms-cui-ribbon' DIV element; used in a descendant selector. Wraps upper Ribbon area where tabs appear. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-cui-topBar1 | Child DIV of 'ms-cui-ribbonTopBars' DIV element. Applied to a DIV with an inline style of display: none. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-cui-qat-container | Child DIV of 'ms-cui-topBar1' DIV element, which is set to display none. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-cui-topBar2 | Fifth nested DIV; child of 'ms-cui-ribbonTopBars' DIV element. When the Ribbon is active and depending on the state, other classes are added in conjunction with this style. The first style statement (.ms-cui-topBar2 with no descendant selector) controls the color of the rule line between the Ribbon tabs and the Ribbon command bar (content) in its default state. The color of the border can be overridden but what is set for Ribbon specific tools (see below) will take precedence when they are applied. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-cui-ct-topBar-db, .ms-cui-ct-topBar-lb, .ms-cui-ct-topBar-tl, .ms-cui-ct-topBar-or, .ms-cui-ct-topBar-gr, .ms-cui-ct-topBar-mg, .ms-cui-ct-topBar-yl, .ms-cui-ct-topBar-pp | Fifth nested DIV; child of 'ms-cui-ribbonTopBars' DIV element; applied in conjunction with 'ms-cui-topBar2' CSS class when a particular set of tools in the tab area has been activated (such as Editing Tools). Each of these classes is referenced as a parent in a style statement using a descendant selector in a unique style statement per listed class (8 style statements total across all listed classes). The following code sample is just one such instance. Please see the Ribbon Prefix Guide for a key to the CSS class names. The style statement is marked as !important and due to the combination of classes in the statement, the statement controls both the bottom border color that is the rule line between the Ribbon tabs and Ribbon command bar and controls the bottom border of the command bar. This only applies when the given tool set is active in the Ribbon. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
Parent styles for the three Ribbon tab areas![]() | |
| .ms-cui-jewel-container | First nested DIV inside of 'ms-cui-topBar2' DIV element. Applied to a DIV that also has an inline style of display: none. This DIV also has an ID of 'jewelcontainer' applied in conjunction with the class. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-cui-TabRowLeft | First visible nested DIV inside of 'ms-cui-topBar2' DIV element. Applied to DIV in conjunction with 'ms-siteactionscontainer' class. This DIV element can contain peripheral Ribbon elements - the Site Actions menu, the pop-out breadcrumb menu and the Edit icon is included in OOTB master pages. If the peripheral elements are moved outside of the Ribbon area in a custom master page, these styles would not apply. Custom components can be placed in this area. This DIV also has an ID of 'RibbonContainer-TabRowLeft' applied in conjunction with the class. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-cui-tts | Applied to a list (UL) that is a child of 'ms-cui-topBar2' DIV element; List is the Ribbon tabs above the command bar; referenced as a parent for child selectors. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) Found in: LAYOUTS\STYLES\dlgframe.css (toggle code) |
| .ms-cui-TabRowRight | Second visible nested DIV inside of 'ms-cui-topBar2' DIV element. Applied to DIV in conjunction with 's4-trc-container' class. This DIV element can contain peripheral Ribbon elements - the Welcome menu is included in OOTB master pages. If the peripheral elements are moved outside of the Ribbon area in a custom master page, these styles would not apply. Custom components can be placed in this area. This DIV also has an ID of 'RibbonContainer-TabRowRight' applied in conjunction with the class. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
Main tab (list) navigation in Ribbon![]() ![]() | |
| .ms-browseTab | Applied to a list item (LI) in the 'ms-cui-tts' UL element; wraps the anchor for the Browse tab; referenced as a parent in child selector. CSS class is set in CMDUI.XML. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-cui-tt | Applied to the list items (LI) in the 'ms-cui-tts' UL element; list items are the tabs in the Ribbon. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-cui-tt-s | Applied to a list item (LI) in the 'ms-cui-tts' UL element; selected tab state. Referenced as a parent for descendant and child selectors in 30 style statements. The following code sample is just one such instance. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-cui-tt-a | Applied to anchor for tab text; wraps SPAN element that contains tab label; used EXTENSIVELY as a child in descendant selectors; referenced a few times as a parent in descendant selectors. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-cui-tt-a:hover | Hover state for 'ms-cui-tt-a'. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-cui-tt-span | Tab label. Applied to SPAN element that wraps label text. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-cui-hidden | Applied to SPAN element that is a sister to the SPAN that contains the tab label; hidden from UI; contains text specifying tab count (Tab 1 of 3). Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
Nested grouping for tabs based on tab functionality![]() ![]() | |
| .ms-cui-cg | Applied to the list items (LI) in the 'ms-cui-tts' UL element that contains a tab group. When the Ribbon is active and depending on the state, other classes are added in conjunction with this style. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-cui-cg-db, .ms-cui-cg-lb, .ms-cui-cg-tl, .ms-cui-cg-or, .ms-cui-cg-gr, .ms-cui-cg-mg, .ms-cui-cg-yl, .ms-cui-cg-pp | Applied to the list items (LI) in the 'ms-cui-tts' UL element and applied in conjunction with 'ms-cui-cg' CSS class when a particular set of tools in the tab area has been activated (such as Editing Tools). Each of these classes is referenced as a parent in descendant selectors in 14 unique style statements per listed class (112 style statements total across all listed classes). The following code sample is just one such instance. Please see the Ribbon Prefix Guide for a key to the CSS class names. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-cui-cg-s | Applied to the selected tab. Used extensively in descendent selectors in 78 style statements. The following code sample is just one such instance. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-cui-cg-i | First nested DIV element that is a child of 'ms-cui-cg'. Used as a child in several descendant selectors. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-cui-cg-t | Second nested DIV element that is a child of 'ms-cui-cg-i'. Wraps SPAN element that contains tab group label text. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-cui-cg-t-i | SPAN element that is a child of 'ms-cui-cg-t' DIV element. Wraps tab group label text. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
Sub tabs within a Ribbon tab grouping![]() | |
| .ms-cui-ct-ul | Applied to nested unordered list that contains the sub tabs in a group. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-cui-ct-first | Applied to first sub tab in group. Used extensively in descendent selectors in 18 style statements. The following code sample is just one such instance. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-cui-ct-last | Applied to last sub tab in group. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
Styles that wrap Ribbon command area (below Ribbon tabs)![]() | |
|---|---|
| .ms-cui-tabContainer | Applied to DIV wrapping the Ribbon command bar list element (under tabs). Child of 'ms-cui-ribbon' DIV element. A style statement is only provided for this class in the OOTB NightandDay master page/CSS file. |
| .ms-cui-tabBody | Applied to a list (UL) that is a child of the 'ms-cui-tabContainer' DIV element. When the Ribbon is active and depending on the state, other classes are added in conjunction with this style. This is the main outer container for the Ribbon command bar. This is a great place to specify a different color for the command bar background or to change the width of the Ribbon. Note that changes to the top or bottom borders will affect the set and required height of 43px. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-cui-tabBody-db, .ms-cui-tabBody-lb, .ms-cui-tabBody-tl, .ms-cui-tabBody-or, .ms-cui-tabBody-gr, .ms-cui-tabBody-mg, .ms-cui-tabBody-yl, .ms-cui-tabBody-pp | Applied to a list (UL) that is a child of the 'ms-cui-tabContainer' DIV element and applied in conjunction with 'ms-cui-tabBody' CSS class when a particular set of tools in the tab area has been activated (such as Editing Tools). Each of these classes is referenced as a parent in a style statement using a descendant selector in a unique style statement per listed class (8 style statements total across all listed classes). The following code sample is just one such instance. Please see the Ribbon Prefix Guide for a key to the CSS class names. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-cui-group | Applied to the list items (LI) within the 'ms-cui-tabBody' list (UL). Contains SPAN elements that wrap Ribbon commands; there is one LI per Ribbon command group (such as Edit, Manage, Page Actions). Referenced as a parent in descendant selectors. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
Ribbon command button group styles![]() ![]() | |
| .ms-cui-groupTitle | Applied to SPAN that wraps the label text for a Ribbon command group (such as Edit, Manage, Page Actions). Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-cui-groupSeparator | Applied to SPAN that provides a separator between Ribbon command groups. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-cui-groupContainer | Applied to first wrapper SPAN within 'ms-cui-group' LI element that wraps each sub group of Ribbon commands. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-cui-groupBody | Second nested SPAN; child of 'ms-cui-groupContainer' SPAN element. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-cui-layout | Third nested SPAN; child of 'ms-cui-groupBody' SPAN element. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-cui-section | Fourth nested SPAN; child of 'ms-cui-layout' SPAN element. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| ms-cui-section-alignmiddle | Fourth nested SPAN; child of 'ms-cui-layout' SPAN element. Also used as a parent in descendent selectors that control margins for 'ms-cui-row-onerow' and 'ms-cui-row-tworow'. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-cui-row-onerow | Fifth nested SPAN; child of 'ms-cui-section' SPAN element; used when there is a single command (as opposed to stacked commands within the row). Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-cui-row-tworow | Fifth nested SPAN; child of 'ms-cui-section' or 'ms-cui-section-alignmiddle' SPAN element; used when there are rows of stacked commands. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
Ribbon command button styles - common styles used in several types of command buttonsSee screenshots below for samples. | |
| .ms-cui-disabled | Applied to an element that is disabled for the current page state, user or selected content. Referenced as a parent in descendant selectors. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-cui-disabled:active | Active state for 'ms-cui-disabled'. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-cui-disabled:hover | Hover state for 'ms-cui-disabled'. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-cui-imageDisabled | Applied to SPAN that is a child of 'ms-cui-ctl-largeIconContainer' or 'ms-cui-ctl-iconContainer' SPAN elements; contains command icon. Applied to SPAN that contains the arrow image displayed under the Ribbon command icon/label. There is no style statements provided for this class. It is assumed that it is used by other code to disable the image when functionality is restricted for the user. |
| .ms-cui-ctl-iconContainer | Applied to a SPAN that is a child of another element (it varies); wraps the SPAN that wraps smaller command icon. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-cui-img-32by32 | Applied to a SPAN element that is a child of 'ms-cui-ctl-largeIconContainer' SPAN element; contains large command icon; set in conjunction with the 'ms-cui-img-cont-float' CSS class. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-cui-img-16by16 | Applied to a SPAN element that is a child of 'ms-cui-ctl-iconContainer' SPAN element; contains small command icon; set in conjunction with the 'ms-cui-img-cont-float' CSS class. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-cui-img-5by3 | Nested SPAN element; child of the 'ms-cui-ctl-a2' or 'ms-cui-dd-arrow-button' anchors; contains the arrow image for a command icon/label or combination box. Set in conjunction with 'ms-cui-img-cont-float' CSS class. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-cui-img-cont-float | Applied to SPAN that is a child of 'ms-cui-ctl-largeIconContainer' or 'ms-cui-ctl-iconContainer' SPAN elements; contains command icon. Applied to SPAN that contains the arrow image displayed under the Ribbon command icon/label. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| IMG (32 x 32px) with inline styles | Large command icon image in Ribbon; also affected by descendant selectors in various statements. The image is part of a CSS Sprite. <img style="top: -416px; left: -320px;"> The actual pixel values will differ from instance to instance as different icons are used. |
| IMG (16 x 16px) with inline styles | Small command icon image in Ribbon. The image is part of a CSS Sprite. <img style="top: -208px; left: -144px;"> The actual pixel values will differ from instance to instance as different icons are used. |
Ribbon command button styles - large icon![]() ![]() | |
| .ms-cui-ctl-large | Wraps a single Ribbon command; includes command icon and arrow. Referenced as a parent in descendant and child selectors. Applied to the ANCHOR element that wraps large commands; child of 'ms-cui-row-onerow' SPAN element. Applied to a SPAN element that wraps the 'ms-cui-mrusb-selecteditem' SPAN element. In this instance it is the sixth nested SPAN. Applied to the ANCHOR element that wraps the large command icon which is a child of 'ms-cui-mrusb-selecteditem' SPAN element. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-cui-ctl-large:active | Active state for 'ms-cui-ctl-large' element. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-cui-ctl-large:hover | Hover state for 'ms-cui-ctl-large' ANCHOR element. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-cui-mrusb-selecteditem | Seventh nested SPAN; child of 'ms-cui-ctl-large' SPAN element. Wraps the icon portion of a split-button command in the case of a split button where the icon and label are in the same container and light up together on hover. This element is a child of 'ms-cui-ctl-large' SPAN, and the parent of 'ms-cui-ctl-large' ANCHOR. Referenced as a parent in descendant selectors. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-cui-ctl-a1 | Applied to ANCHOR element that wraps the icon portion of a split-button command in the case of a split button where the icon and label are in separate containers and light up individually on hover. Child of 'ms-cui-ctl-large' SPAN element. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-cui-ctl-a1:active | Active state for 'ms-cui-ctl-a1'. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-cui-ctl-a1:hover | Hover state for 'ms-cui-ctl-a1'. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-cui-ctl-light-hoveredOver | Applied to 'ms-cui-ctl-a1' ANCHOR element when user hovers over element. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-cui-ctl-a1Internal | Applied to SPAN element; child of 'ms-cui-ctl-a1' ANCHOR element. Wraps 'ms-cui-img-32by32' SPAN element that contains the icon in a split button where the icon and label are in separate containers and light up individually on hover. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-cui-ctl-a2 | Applied to ANCHOR element that wraps arrow beneath command image and label in a spilt button command; child of 'ms-cui-ctl-large' SPAN element. Referenced as a parent in descendant and child selectors. This is used in both instances where the arrow is separate from the icon/label and where the arrow is combined with the label and is separate from the icon. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-cui-ctl-a2:active | Active state for 'ms-cui-ctl-a2'. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-cui-ctl-a2:hover | Hover state for 'ms-cui-ctl-a2'. |
| .ms-cui-ctl-split-hover | Applied to 'ms-cui-ctl-a2' ANCHOR element when user hovers over element. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-cui-ctl-largeIconContainer | Applied to a SPAN that is a child of the 'ms-cui-ctl-large' anchor; wraps the SPAN that wraps the larger command icon. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-cui-ctl-largelabel | Applied to SPAN that wraps text used for large command icon label; child of the 'ms-cui-ctl-large' anchor. Referenced as a parent in descendant selectors. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
Ribbon command button styles - smaller icon with label![]() | |
| .ms-cui-ctl-medium | Applied to anchor that wraps smaller stacked commands; child of 'ms-cui-row' SPAN element. Referenced as a parent in descendant selectors. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-cui-ctl-medium:active | Active state for 'ms-cui-ctl-medium' element. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-cui-ctl-medium:hover | Hover state for 'ms-cui-ctl-medium' ANCHOR element. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-cui-ctl-mediumlabel | Applied to SPAN that wraps text used for small command icon label; child of the 'ms-cui-ctl-medium' anchor. Referenced as a parent in descendant selectors. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
Ribbon command button styles - stacked rows with combo boxes![]() | |
| .ms-cui-row | Fifth nested SPAN; child of 'ms-cui-section' SPAN element; used when there are multiple commands stacked on top of each other vertically (as opposed to a single command). Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-cui-ctl-small | Applied to LABEL element that is a child of the 'ms-cui-row' SPAN element. Only used as a parent in a descendent selector. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-cui-fslb | Applied to LABEL element that is a child of the 'ms-cui-row' SPAN element and applied in conjunction with 'ms-cui-ctl-small' CSS class. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-cui-cb | Applied to SPAN that is a child of 'ms-cui-row' SPAN element; contains combination box. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-cui-cb:hover | Hover state for 'ms-cui-cb'. Referenced only as a parent in a descendent selector. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-cui-cb-input | Applied to combination box INPUT; inline styles are also applied. style="width: 75px;" Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-cui-dd-arrow-button | Applied to ANCHOR that is a child of 'ms-cui-cb' SPAN element; contains drop down arrow for combination box. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-cui-dd-arrow-button:active | Active state for 'ms-cui-dd-arrow-button'. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-cui-dd-arrow-button:hover | Hover state for 'ms-cui-dd-arrow-button'. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| span:hover > .ms-cui-dd-arrow-button | Hover state for 'ms-cui-dd-arrow-button'. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
Ribbon command button styles - command strip![]() | |
| .ms-cui-strip | Applied to SPAN that is a child of 'ms-cui-row' SPAN element; contains multiple commands. Also used as a parent in descendent selectors. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-cui-ctl | Applied to ANCHOR element that is a child of 'ms-cui-strip' SPAN element; contains a command icon. This same class is used as a parent in descendent selector for 9 style statements but for SPAN elements only. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-cui-ctl:active | Active state for 'ms-cui-ctl'. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| .ms-cui-ctl-on | Applied to ANCHOR element that is a child of 'ms-cui-strip' SPAN element in conjunction with 'ms-cui-ctl'; on/active state for a command. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |
| ms-cui-ctl-on:hover | Hover state for 'ms-cui-ctl-on'. Found in: LAYOUTS\1033\STYLES\COREV4.CSS (toggle code) |