::Stuff for the multi-spec coder;

Coding, formats, standards, and other practical things.

 Home  //  CSS  //  content 

<!-- CSS 2.1 Reference

Property Name: content


Default Value: normal
Inherited: no
Possible values directly from the standard:
normal, none, [ string, uri, counter, attr(identifier), open-quote, close-quote, no-open-quote, no-close-quote ]+, inherit

Property Description:

This property is not supported by Internet Explorer, up to and including version 7. Using alternative methods is recommended instead for content that is intended for browsers, considering the current support status of this property. Defines "content" which is generated or retrieved when the document is loaded, and appended before or after the selector. Uses the pseudo-elements :before and :after. This property will either render additional content around the selector, or load it from a remote location in the case of a URI entry. For example, if you were to add p:before {content:"-";} to a document, a dash character ( - ) would appear before every opening <P> tag, while the closing </P> tag will not be effected.


Example:

h4:before { content:open-quote; } h4:after { content:close-quote; }


Complete CSS Property Listing:
background-attachment, background-color, background-image, background-position, background-repeat, background, border-collapse, border-color, border-spacing, border-style, border-top, border-right, border-bottom, border-left, border-top-color, border-right-color, border-bottom-color, border-left-color, border-top-style, border-right-style, border-bottom-style, border-left-style, border-top-width, border-right-width, border-bottom-width, border-left-width, border-width, border, bottom, caption-side, clear, clip, color, content, counter-increment, counter-reset, cursor, direction, display, empty-cells, float, font-family, font-size, font-style, font-variant, font-weight, font, height, left, letter-spacing, line-height, list-style-image, list-style-position, list-style-type, list-style, margin-top, margin-right, margin-bottom, margin-left, margin, max-height, max-width, min-height, min-width, outline-color, outline-style, outline-width, outline, overflow, padding-top, padding-right, padding-bottom, padding-left, padding, position, quotes, right, table-layout, text-align, text-decoration, text-indent, text-transform, top, unicode-bidi, vertical-align, visibility, white-space, width, word-spacing, z-index














Looking for the old guiStuff?

It's still here, the old content didn't go anywhere.