| Selector | Description | Example |
| body, form | Sets the
margin of the body or form to 0.
| |
| body | Sets the
margin of the body to 0.
| |
| .ms-main | Border
color at the right margin of a page.
|
|
| .ms-toolbar
| Text and
gradient in list toolbars.
| .gif) |
| table.ms-toolbar
|
| .ms-rtetoolbarmenu
| Defines the
look of the Rich Text Editor. | .gif) |
| .ms-rtetoolbarunsel |
| .ms-rtetoolbarsel |
| .ms-rtetoolbardis |
| a.ms-rtetoolbardis |
| .ms-rtetoolbarhov |
| .ms-gridT1
| Type of
rating scale used in a question for a survey, such as Low, Average, and
High. | .gif) |
| .ms-viewselect
a:link, .ms-GRFontSize | Text for
available views displayed in the left navigation area for a list. Font size used for text
in the datasheet control.
| |
| select | Fonts for
any of the drop-down or checkbox items in in pages for customizing lists.
| |
| hr | Defines properties
for a horizontal rule.
| |
| .ms-formlabel | Formats
the names of fields used in forms for creating or editing list items or
adjusting site settings.
| .ms-formlabel
style |
| .ms-formdescription
A | Formats hyperlinks
that appear in descriptions on forms such as "Click here to test".
| .ms-formdescription hyperlink style |
| .ms-formtable
.ms-formbody | Text for each
field in a list item form such as the New Item form for default lists.
| |
| .ms-radiotext
| Text used
for radio buttons in a survey. | One Two |
| .ms-gridtext
| Text for
a rating scale style used for a question in a survey. | |
| .ms-formbody
| Text for
each field in a list item form such as the New Item form for default lists.
| |
| .ms-formbody FONT | Font
characteristics for the formbody class.
| |
| .ms-formdescription | Instruction
text used for fields in forms. For example, "Enter date in M/D/YYYY
format" used in the New Item form. | .ms-formdescription
style |
| .ms-searchbox
| Search
form field on the home page.
| .gif) |
| .ms-searchform |
| .ms-searchcorner |
| table.ms-form
th | Table
header for forms.
| |
| table.ms-form
td | Reserved
for internal use only. Do not alter.
| |
| .ms-formrecurrence
| Text that
describes recurrence patterns.
| |
| .ms-long | Text in
non-date fields used in forms for creating or editing list items.
| .ms-long style |
| .ms-longer | Used by
the Rich Text Editor.
| |
| .ms-italic | Italic
font.
| |
| .ms-bold | Bold
font.
| |
| .ms-bannerframe, .ms-GRHeaderBackground, .ms-storMeFree | Background for the banner
of the navigation bar at the top of the page. .
| .gif) |
| .ms-banner
a:link | White hyperlinked text in the banner of the navigation
bar.
| Hyperlink text |
| .ms-banner
a:visited |
| .ms-banner,
.ms-GRHeaderText | White
text in the banner at the top of the page.
| text
text text |
| .ms-nav
td, .ms-nav .ms-SPZoneLabel, .ms-input | “Select a
View” text in a list page. Input boxes for non-text
(currency, date/time, etc.).
| .ms-nav
cell style |
| .ms-nav
th | Text in the
Quick Launch bar on the home page.
| | .ms-nav header cell style | |
| .ms-navheader
a, .ms-navheader a:link, .ms-navheader a:visited | Section
headings in the Quick Launch bar. | .gif) |
| .ms-navframe,
.ms-GRStatusBar | Color
behind the Quick Launch bar and around the datasheet.
| |
| .ms-storMeUsed, .ms-storMeFilterBar | Used on the
storage management page.
| |
| .ms-navline
| Line
dividing sections of the left navigation area in list views.
| .jpg) .gif) |
| .ms-navwatermark
| "Quick
Launch" text in the Quick Launch bar. | .gif) |
| .ms-selectednav,.ms-GRSortFilter | Box
around the selected view on the list view page. Used for
a selected column in the datasheet.
| .gif) |
| .ms-unselectednav
| Unselected
text on the Quick Launch bar. |
| .ms-verticaldots
| Graphical
separator that appears between the main body and the left margin of the page
(no longer used). | |
| .ms-nav a
| Text in the left
navigation of the Quick Launch bar. For example, "Shared Documents"
and "Tasks".
| |
| .ms-nav a:link |
| .ms-nav a:hover |
| .ms-nav a:visited |
| .ms-titlearea
| Site name
that appears on each page above the page title (by default, "Team Web
Site").
| .ms-titlearea style |
| TD.ms-titleareaframe
| Upper
portion of the border at the left margin of the page.
| |
| Div.ms-titleareaframe
| Yellow
line above the title area of a page.
| .gif) |
| .ms-titlearealine,
.ms-storMeEstimated | Yellow
line below the title and above the list toolbar. Also used on the storage
management page.
| |
| .ms-bodyareaframe
| Area
below the title.
| |
| .ms-pagetitle
| Title
text on each page.
| .ms-pagetitle style |
| .ms-pagetitle
a | Hyperlinks
that appear with title text.
| .ms-pagetitle
hyperlink style |
| .ms-pagetitle
a:hover |
| .ms-pagecaption | Caption
above the title for a Web Part Page.
| |
| .ms-selected | Background
for selected items in the Save or Save As dialog box when
saving to a document library.
| .ms-selected
style |
| .ms-selected
SPAN |
| .ms-selectedtitle | Background
for when the pointer is passed over a list item.
| .gif) |
| .ms-unselectedtitle | Background
for a list item when not selected.
| |
| .ms-menuimagecell | Background
color of the arrow next to an item title for a context menu.
| .gif) |
| .ms-filedialog
td | List of
selected shared documents in the Save or Save As dialog box
when saving to a document library.
| |
| .ms-descriptiontext
| Description
text for a list, or description text on
administration forms and new list forms.
| |
| .ms-dspadapterlist | Reserved
for internal use only. Do not alter.
| |
| .ms-alerttext | Error
messages on form submissions.
| alert
text |
| .ms-separator
| Lines between
the menu items on list toolbars.
| .gif) |
| .ms-authoringcontrols
| Background
color on the right side of administration pages.
| |
| .ms-sectionheader | Text in section headings
on a page. For example, “Administration” on the Site Settings page.
| |
| .ms-sectionheader
a | Section
titles that expand and collapse on the Create View page.
| .gif) |
| .ms-sectionheader
a:hover |
| .ms-sectionheader
a:visited |
| .ms-sectionline | Horizontal
lines between page sections.
| |
| .ms-partline | Line between
list items and the text "Add new item" in a summary view
style as used on the home page.
| |
| .ms-propertysheet
| Text in
list or site settings pages. For example, "Go Back to Shared Documents",
or the text used under settings, such as "Use a filter to
display..." | |
| .ms-propertysheet
th |
| .ms-propertysheet
a |
| .ms-propertysheet
a:hover |
| .ms-itemheader
a | List and
document library names on the Documents and Lists page.
| |
| .ms-discussiontitle
| Subject for
an open discussion item.
| .ms-discussiontitle style |
| .ms-vh,
.ms-vh2 | Text in
column headings for lists.
| ms-vh
hyperlink style |
| .ms-vh2 | Used for
padding.
| |
| .ms-vh-icon
| Used for icons
next to the view headers, such as the icon representing an attachment, or
used for spacing when no icon is present. | |
| .ms-vh-icon-empty
|
| .ms-vh-left
|
| .ms-vh-left-icon
|
| .ms-vh-left-icon-empty
|
| .ms-vh-right
|
| .ms-vh-right-icon
|
| .ms-vh-right-icon-empty
|
| .ms-vh a,.ms-vh a:visited,.ms-vh2 a,.ms-vh-left
a,.ms-vh-right a | Text in
hyperlinks for column headings of lists.
| .ms-vh hyperlink style |
| .ms-vh a:hover, .ms-vh2 a:hover, .ms-vh-left a:hover,
.ms-vh-right a:hover |
| .ms-vhImage
| Used in
header images.
| |
| .ms-gb | Defines
the group-by view headers.
| |
| .ms-gb2 | Defines
the group-by view headers.
| |
| .ms-vb, .ms-vb2, .ms-GRFont, .ms-vb-user | Text in
the body of a view and most other common text. Icon classes that are
used, for example, to indicate attachments.
| |
| |
| .ms-vb a,
.ms-vb2 a, .ms-GRStatusText a,.ms-vb-user a |
| .ms-vb a:hover,
.ms-vb2 a:hover, .ms-vb-user a:hover |
| .ms-vb
a:visited, .ms-vb2 a:visited, .ms-GRStatusText
a:visited, .ms-vb-user a:visited |
| .ms-vb
a:visited:hover, .ms-vb2 a:visited:hover, .ms-vb-user
a:visited:hover |
| .ms-vb2, .ms-vb-title,
.ms-vb-icon,.ms-vb-user |
| .ms-vb-icon
|
| .ms-vb-user |
| .ms-vb2 |
| .ms-homepagetitle | Title on
the home page of a Meeting Workspace site.
| |
| a.ms-addnew
| "Add
new..." text in the summary view for lists.
| |
| td.ms-addnew |
| .ms-error
| Error
messages on form submissions. | |
| .ms-cal | Border
type and font formatting used in day cells of a calendar view. | |
| .ms-calWeek | Used in a
calendar view. | |
| .ms-vcal |
| .ms-Dcal |
| .ms-caltop
| Top
border of each day cell in a calendar view.
| |
| .ms-calhead
| Header
containing the month name and navigation arrows in a calendar view.
| .ms-calhead style |
| .ms-calhead a |
| .ms-calhead a:hover |
| .ms-caldow
| Row of
cells containing weekday names in a calendar view.
| |
| .ms-calmid
| Left and
right borders on each day cell in a calendar view.
| |
| .ms-CalSpacer
| Spacer
that is used between multiple appointments on the same day in a calendar
view.
| |
| .ms-CalVSpacer | Spacer
used in a calendar view.
| |
| .ms-CalAllDay | Calendar
view for all-day events.
| |
| .ms-firstCalHour | Calendar view
in which the first cell in the first row contains the time.
| |
| .ms-calHour | Calendar
view cell that contains the time.
| |
| .ms-calHalfHour | Calendar
view cell that contains half-hour marks.
| |
| .ms-calQuarterHour | Calendar view
cell between hour cells. | |
| .ms-calbot | Bottom
row that represents an hour, day, or week in a calendar view. | |
| .ms-appt
a | Hyperlinked
text for an event that spans multiple days in a calendar view.
| |
| .ms-appt
a:hover |
| .ms-appt,
.ms-GRCellSelect | Background, border,
and text for an event that spans multiple days in a calendar view.
| |
| .ms-Dappt
| Appointments
displayed in a view by day.
| |
| .ms-Vappt
| Appointments
displayed in a vertical view by day. | |
| .ms-Vappt
a |
| .ms-Vappt
a:link |
| .ms-Vappt
a:hover |
| .ms-apptsingle
| Text for
an appointment that lasts a single day.
| |
| .ms-Dapptsingle
| Appointments
displayed in a view by day with no duration set.
| |
| .ms-Vapptsingle | Appointments
displayed in a view by day with no duration set. | |
| .ms-Vapptsingle
a |
| .ms-Vapptsingle
a:link |
| .ms-Vapptsingle
a:hover |
| .ms-caldowdown
| Calendar
table cell for Microsoft Internet Explorer 5.0 or earlier. | |
| .ms-caldown | Day of
week in calendar for Microsoft Internet Explorer 5.0 or earlier. | |
| .ms-datepickeriframe
| Position of
date-chooser pop-up calendar when creating or editing a list item. | |
| .ms-datepicker
| Date-chooser
pop-up calendar when creating or editing a list item. | .ms-datepicker
style |
| .ms-dpdow | Line under
weekday names in the date-chooser pop-up calendar when creating or editing a
list item. | |
| .ms-dpday
| Text of
date numerals for the current month in the date-chooser popup calendar when
creating or editing a list item. | |
| .ms-dpselectedday | Text and
background of the selected date in the date-chooser pop-up calendar when
creating or editing a list item. | .ms-dpselectedday
style |
| .ms-dpnonmonth
| Text of date
numerals which are not part of the current month in the date-chooser pop-up
calendar when creating or editing a list item. | |
| .ms-dphead
| Header
containing the month name and navigation arrows in the date-chooser pop-up calendar
when creating or editing a list item. | .ms-dphead style |
| .ms-dpnextprev
| Arrows in
the date-chooser pop-up calendar for moving from one month to the next or
previous month. | |
| .ms-dpfoot
| "Today's
date" text and the line above it in the date-chooser pop-up calendar
when creating or editing a list item. | |
| IMG.ms-button
| Changes
the cursor to a hand when the pointer is passed over buttons. | |
| .ms-announcementtitle
| Titles in
the Announcements list view on the home page. | .ms-announcementtitle
style |
| .ms-homepagetitle:Hover
| List title in a list
view. For example, the words "Announcements", "Events"
and "Links" on the default.htm page. | .ms-homepagetitle
style |
| .ms-discussionseparator
| Space
between discussion threads. | |
| .ms-summarytitlebarframe
| Unused | |
| .ms-summarytitlebar
a:link |
| .ms-summarytitlebar
a:visited |
| .ms-summarytitlebar |
| .ms-summarytitlebartitle
.ms- |
| summarytitlebartitle:hover |
| img.thumbnail
| Color
behind thumbnail in the Picture Preview area of the left navigation area in a
picture library. | .jpg) |
| tr.ms-imglibselectedrow , tr.ms-highlight | Color of
a row in a picture library when the row is selected in the Selected Pictures
view. | |
| .ms-imglibthumbnail | Background
for thumbnails in Thumbnails view. Border color should be the same as for img.thumbnail style.
| .jpg) |
| span.thumbnail | Reserved
for internal use only. Do not alter.
| |
| span.userdata
| |
| .ms-imglibmenuarea | Background
of the previous and next button in Filmstrip view of a picture library.
| .gif) |
| a.ms-imglibPreviewTitle | Reserved
for internal use only. Do not alter.
| |
| table.ms-imglibPreviewTable | |
| .UserShadedRegion
| Shaded
areas in Web Parts. | sample text |
| .UserCaption | Text
areas in Web Parts. | sample
text |
| .UserConfiguration | Text
areas in Web Parts. | sample
text |
| .UserDottedLine | Dotted lines
in Web Parts. | |
| .UserButton,
.UserInput, .UserSelect | Input
boxes in Web Parts. | Sample
Text |
| .UserNotification | Text
areas in Web Parts. | Sample Text |
| .UserToolBarTextArea
| Spacing
for elements on toolbars in Web Parts. | sample text |
| .UserToolBarTextArea
a: link | |
| .UserToolBarTextArea a:
visited | sample
text |
| .UserToolBarTextArea
a: hover | sample text |
| .UserToolbarDisabledLink | Elements
on toolbars in Web Parts.
| sample
text |
| .UserToolbarImage
| sample text |
| .UserToolBarImageArea
| sample
text |
| .UserToolbarSelectedImage | sample
text |
| .UserGenericHeader | Header
text in Web Parts. | sample
text |
| .UserGeneric | Default
text in Web Parts. | sample
text |
| .UserGenericBody | Indented body
text in Web Parts. | sample
text |
| .UserGenericText | Generic
text that is used in all Web Parts. | |
| .UserBackground | Background
areas in Web Parts.
| |
| .UserSectionTitle | Form
titles in Web Parts. | sample text |
| .UserSectionHead | Control
labels in Web Parts. | sample text |
| .UserSectionBody | Instructional
text on controls in Web Parts. | sample
text |
| .UserControlGroup | Area of
form controls in Web Parts. | |
| .UserSectionFooter | Area at the
bottom of user forms containing dotted line and command buttons. | |
| .UserFooter | Area at
the bottom of a form.
| |
| .UserCommandArea | Command
button area at the bottom of a user form. | |
| .UserToolbar | Toolbars
in Web Parts. | sample text |
| .UserCellSelected
| Selected
cells in Web Parts. | sample
text |
| .UserCell | Cells in
Web Parts. | sample
text |
| .UserGenericBulletItem
| Bulleted
items in Web Parts. | sample
text |
| .ms-ToolPaneFrame | Background
of the tool pane interior in Web Parts. | sample
text |
| .ms-ToolPaneBody | Body of
the tool pane in Web Parts. | sample
text |
| .ms-ToolPaneBorder | Border
around the tool pane in Web Parts. | sample
text |
| .ms-ToolPaneHeader | Header of
the tool pane in Web Parts. | sample
text |
| .ms-ToolPaneClose | Area
around the button for closing the tool pane in Web Parts.
| sample
text |
| .ms-ToolPaneTitle | Title of
the tool pane in Web Parts.
| sample text |
| .ms-ToolPaneFooter | Footer area
of the tool pane in Web Parts.
| sample
text |
| .ms-ToolPaneError | Error
messages that appear in the tool pane of Web Parts.
| sample
text |
| .ms-ToolPaneInfo | Information
messages that appear in the tool pane of Web Parts.
| sample
text |
| .ms-ToolPartSpacing | Spacing
between Web Parts. | sample
text |
| .ms-ToolStripSelected | Hover behavior
for the title bar at the top of the tool pane in Web Parts. | .gif) |
| .ms-ToolStrip | Title bar
at the top of the tool pane in Web Parts. | |
| .ms-TPHeader | Header of
the tool pane in Web Parts. | sample
text |
| .ms-TPBorder | Border of
the tool pane in Web Parts. | sample
text |
| .ms-TPTitle | Title of the
tool pane in Web Parts. | sample text |
| .ms-TPBody | Body of
the tool pane in Web Parts. | sample
text |
| .ms-TPBody
A:link, .ms-TPBody A:visited, .ms-TPBody A:hover | sample text |
| .ms-TPCommands | Commands
on the tool pane in Web Parts. | |
| .ms-TPInput | Commands
on the tool pane in Web Parts. | sample
text |
| .ms-PropGridBuilderButton | "..."
buttons in the tool pane of Web Parts. | <>... |
| .ms-BuilderBackground
| Background
of dialog boxes opened through property selections made through the tool pane
in Web Parts. | |
| .ms-SPZone | Borders
of a zone control in Web Part Pages.
| sample
text |
| .ms-SPZoneSelected | Borders of
a zone control in Web Part Pages when the insertion bar is active inside the
zone. | sample
text |
| .ms-SPZoneIBar | Insertion
bar in Web Part Pages that shows the zone into which the user is dragging a
Web Part. | |
| .ms-SPZoneLabel | Label for
a zone in Web Part Pages.
| sample
text |
| .ms-SPZoneCaption | Caption
for the text inside a zone in Web Parts Pages. | sample
text |
| .ms-WPDesign | Background for design mode in Web Part Pages. | sample
text |
| .ms-WPMenu | Area around
the menu in Web Parts.
| sample
text |
| .ms-WPTitle | Title of
a Web Part.
| sample text |
| .ms-WPTitle
A:link, .ms-WPTitle A:visited | sample text |
| .ms-WPTitle
A:hover | sample text |
| .ms-WPSelected | Border around
a Web Part when the part is selected.
| |
| .ms-WPBody | Contents
of a Web Part. | sample
text |
| .ms-WPBody
TABLE, .ms-TPBody TABLE | sample
text |
| .ms-WPBody
A:link, .ms-WPBody A:visited | sample text |
| .ms-WPBody
A:hover | sample text |
| .ms-WPBody
th, .ms-TPBody th | sample
text |
| .ms-WPBody
TD | sample
text |
| .ms-WPBody
h1, .ms-TPBody h1 | sample
text |
| .ms-WPBody
h2, .ms-TPBody h2 | sample
text |
| .ms-WPBody
h3, .ms-TPBody h3 | sample text |
| .ms-WPBody
h4, .ms-TPBody h4 | sample
text |
| .ms-WPBody
h5, .ms-TPBody h5 | sample
text |
| .ms-WPBody
h6, .ms-TPBody h6 | sample
text |
| .ms-WPBorder | Border
around a Web Part.
| |
| .ms-HoverCellActive
| Cell behavior
throughout the UI for when the pointer is passed over a cell.
| |
| .ms-HoverCellInActive
| |
| .ms-HoverCellActiveDark | |
| |
| |
| .ms-SPLink | Text for Modify Page link.
| sample
text |
| .ms-SPLink
A:link, .ms-SPLink A:visited | sample text |
| .ms-SPButton | Font for
buttons. | sample
text |
| .ms-PartSpacingVertical | Vertical
spacing between Web Parts. | |
| .ms-PartSpacingHorizontal | Horizontal spacing between
Web Parts. | |
| .ms-WPHeader | Background
area of the title bar in Web Parts. | sample
text |
| .ms-rtApplyBackground | Classes
for the Rich Text Editor. | |
| .ms-tbButtonMouseOverDown |
| .ms-rtRemoveBackground |
| .ms-subsmanageheader | Section
headers used on the pages for managing alerts: MySubs.aspx and SiteSubs.aspx.
For example, Frequency: Immediate. | .gif) |
| .ms-subsmanagecell | Subscription
rows used on the pages for managing alerts: MySubs.aspx and SiteSubs.aspx.
|
| .ms-ConnError | Error
messages related to authoring connections.
| |
| .ms-underline | Underlines
for the description, items, and last modified text on the Documents and Lists
page.
| .jpg) |
| .ms-underlineback | Same as
ms-underline but adds a slight gray to the background that is used for titles
on the Documents and Lists page. |
| .ms-back | Background
that includes the color gray and spacing. |
| .ms-smallheader | Header
used for group names (for example, Document Libraries) on the Documents
and Lists page. |
| .ms-smallsectionline | Underline
for group names (for example, Document Libraries) on the Documents and Lists
page. |
| .ms-tabselected
| Tabs in a
Meeting Workspace site.
| .gif) |
| .ms-tabinactive
|
| .ms-tabinactive
a:link |
| .ms-tabinactive
a:hover |
| .ms-tabinactive
a:visited |
| .ms-tabinactive
a:hover |
| .ms-surveyHBar | Horizontal rules, horizontal bars, and vertical bars in
the chart for rating questions in the Graphical Summary view of surveys. | .gif) |
| .ms-surveyHBarB |
| .ms-surveyVBar |
| .ms-surveyVBarB |
| .ms-surveyVBarBI |
| .ms-surveyVBarS |
| .ms-surveyVBarT |
| .ms-surveyVBarTC |
| .ms-surveyHR |
| .ms-surveyTotal | Spacers between
verticals bars in the chart for rating questions in the Graphical Summary
view of surveys. |
| .ms-uploadborder
| Border
around the control for uploading multiple files. | .jpg) |
| .ms-uploadcontrol
| Background
for selected text in the file list of the control for uploading multiple
files.
|
| .ms-spaceBetContentAndButton | Reserved
for internal use only. Do not alter. | |
| .ms-ButtonHeightWidth |
| .ms-ButtonHeightWidth2 |
| .ms-SpaceBetButtons |
| .ms-summarycustombody |
| .ms-summarystandardbody |
| .ms-stylebox | Classes
used in boxed view styles such as Document Details, Issues Boxed, etc. | .gif) |
| .ms-stylelabel |
| .ms-styleheader |
| .ms-styleheader
a:link, .ms-stylebody a:link |
| .ms-styleheader
a:visited, .ms-stylebody a:visited |
| .ms-stylebody |
| .ms-styleheader
a:hover, .ms-stylebody a:hover |
| .ms-alternating | Background
color for the shaded view style. | .gif) |
| .ms-MWSSelectedInstance | Classes
used for the recurrence navigation bar in a Meeting Workspace site. | .gif) |
| .ms-MWSInstantiated
a:link, .ms-MWSInstantiated a:visited |
| .ms-MWSInstantiated
a:hover |
| .ms-MWSUninstantiated
a:link, .ms-MWSUninstantiated a:visited |
| .ms-MWSUninstantiated
a:hover |