![]() | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
HomeWeb DevelopmentShort ContentsIntroductionCSS Basics Selectors Terminology Media Types Paged Media Aural Media Colours Fonts Text Blocks Lists & counters Tables Miscellaneous Full ContentsIntroductionChanges from CSS1Other CSS sites Download this Guide CSS BasicsSetting StylesUsing external files ...media dependant Setting Style values Comments Inheritance Selectors...by class...by id ...contextual ...all elements ...if a child ...adjacent elements ...by attributes Psuedo Classes ...<A> links :hover :active :focus :lang :firstchild Psuedo Elements ...first line ...first letter ...:before and :after ...inserting content TerminologyCascades"! important" CSS element model Block elements Guide Terminology Units ...lengths ...colours Media Types...giving style...supported types Paged Mediamarginspage size crop marks left, right, first pages page break before page break after page break inside page names orphaned content widowed content Aural Mediavolumespeak pausebefore pauseafter pause cuebefore cueafter cue playduring azimuth elevation speech rate voice family average pitch pitch range stress richness punctuation numbers table headers ColoursForeground colourBackground ...-color ...-image ...-repeat ...-attachment ...-position FontsFont...-family ...-style ...-variant ...-weight ...-size ...-sizeadjust ...-stretch Textword-spacingletter-spacing text-decoration text-shadow vertical-align text-transform text-align text-indent line-height quotes Blocksindividual marginsall margins individual padding all padding border widths all border-widths border-color border-style individual borders all borders width min width max width height min height max height float clear position ...where layered position text direction bidirectional override line height vertical align overflow clipping visibility Lists & counterslist-stylelist-style-type list-style-image list-style-position marker offset resetting counters incrementing counters nesting counters counter appearance displaying counters Tablescaption positionlayout method border display border spacing empty cells MiscellaneousDisplayRun-in boxes whitespace cursors outline outline width outline style outline colour |
Classification propertiesThese advanced properties classify elements into categories, as is seen below...display
This property describes how / if an element is displayed on the screen or printed page. If the language doesn't support a certain elemet, of if you want an element to behave like something else, this is the property to use. Run-in boxesAn object specified as a Run-in object will be displayed as an inline object if the following object is a normal block item (such as a <P> block). Otherwise, it becomes a block object.For example, H3s are normally block objects - they cause line breaks. However, if we use H3 { display: run-in } , and a <P> block follows, then the heading will appear as the first line of the <P> block, and the text of the <P> block will continue on from the end of the heading.
white-space
Specifies how white spaces (line feeds, tabs, etc) are displayed : normally (they are ignored), like the <pre> HTML element, or with line wrapping only done with <BR> elements. MiscellaneouscursorThis property describes what type of cursor to be displayed when the mouse or other pointing device is on the element.
outlineCreates an outline around, and "on top" of the element to make it stand out. It is drawn just outside the border edge.
outline-width
outline-style
outline-color
(C)opyright, Geoff Knagge.
Continued use of this site indicates your agreement to the Conditions of use and Privacy Policy. |