Html4 default stacked style sheet

Source: Internet
Author: User

From: http://www.w3.org/TR/CSS21/sample.html

This default style sheet is for css2.1

HTML, address, BLOCKQUOTE, body, DD, Div, DL, DT, fieldset, form, frame, frameset, H1, H2, H3, H4, H5, H6, noframes, ol, p, UL, center, Dir, HR, menu, pre {display: block}/* and above are both block display, not listed as inline element display, some elements will be discarded in xhtml1 */Li {display: List-item}/* display in list by default */head {display: none}/* not displayed by default */table {display: Table}/* the default is table display */TR {display: table-row}/* displays table rows by default */thead {display: Table-header-group}/* displays table header groups by default */tbody {display: table-row-group}/* displays the table row group by default */tfoot {display: Table-footer-group}/* displays the group at the bottom of the table by default */COL {display: table-column}/* display of table columns by default */colgroup {display: Table-column-group}/* display of table column groups by default */TD, Th {display: table-cell;}/* display of cells by default */caption {display: Table-caption}/* display of table titles by default */Th {font-weight: bolder; text-align: Center}/* displays the table title by default. The table title is in the bold center status */caption {text-align: Center}/* is displayed by default, center state */body {margin: 8px; line-Height: 1.12} H1 {font-size: 2em; margin :. 67em 0} H2 {font-size: 1.5em; margin :. 75em 0} H3 {font-size: 1.17em; margin :. 83em 0} H4, P, BLOCKQUOTE, UL, fieldset, form, ol, DL, Dir, menu {margin: 1.12em 0} H5 {font-size :. 83em; margin: 1.5em 0} H6 {font-size :. 75em; margin: 1.67em 0} H1, H2, H3, H4, H5, H6, B, strong {font-weight: bolder} BLOCKQUOTE {margin-left: 40px; margin-Right: 40px} I, cite, em, VAR, address {font-style: italic} Pre, TT, code, KBD, SAMP {font-family: monospace} Pre {white-space: Pre} button, textarea, input, object, select {display: inline-block;} big {font-size: 1.17em} small, sub, sup {font-size :. 83em} sub {vertical-align: Sub}/* defines the sub element as a subscript by default. */sup {vertical-align: super}/* defines that the sub element is displayed on the top by default */table {border-Spacing: 2px;} thead, tbody, tfoot {vertical-align: by default, the middle}/* defines the header, body table, and table footer elements as vertical alignment */TD, Th {vertical-align: inherit}/* defines cells and Column Titles. Vertical Alignment defaults to inheritance */s, strike, del {text-Decoration: line-through}/* define these elements to display by default */hr {border: 1px inset}/* define 3D concave edges with a split line of 1 px by default */OL, ul, Dir, menu, DD {margin-left: 40px} ol {list-style-type: decimal} ol ul, UL ol, UL ol {margin-top: 0; margin-bottom: 0} U, INS {text-Decoration: underline} BR: Before {content: "A"}/* defines the pseudo object content style of the line feed element */: before,: After {white-space: pre-line}/* define the default style of space characters of pseudo objects */center {text-align: Center} abbr, acronym {font-variant: Small-caps; letter-Spacing: 0.1em}: Link,: visited {text-Decoration: underline}: Focus {outline: thin dotted invert}/* begin bidirectionality settings (do not change) */BDO [dir = "LTR"] {direction: LTR; Unicode-bidi: bidi-Override}/* defines the default text read/write display sequence of the BDO element when its attribute is dir = "LTR" */BDO [dir = "RTL"] {direction: RTL; unicode-bidi: bidi-Override}/* defines the default text read/write display sequence of the BDO element when its attribute is dir = "RTL" */* [dir = "LTR"] {direction: LTR; unicode-bidi: Embed}/* defines the default text read/write display sequence for any element when its attribute is dir = "LTR" */* [dir = "RTL"] {direction: RTL; Unicode-bidi: embed}/* defines the default text read/write display sequence of any element when its attribute is dir = "RTL" */@ Media Print {/* defines the default Print Style of the title and list * /H1 {page-break-before: always} H1, H2, H3, H4, H5, H6 {page-break-after: Avoid} ul, ol, DL {page-break-before: Avoid }}

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.