Sample style sheet for (X)HTML
Written by jon on 11:24 AMThis appendix is informative, not normative. This style sheet could be used by an implementation as part of its default styling of HTML4, XHTML1, XHTML1.1, XHTML Basic, and other XHTML Family documents.
html {
color: black;
background: white;
color-profile: sRGB;
rendering-intent: auto
}
body[text] {
color: attr(text,color};
}
body[bgcolor],table[bgcolor],tr[bgcolor],td[bgcolor],th[bgcolor] {
background-color: attr(bgcolor,color);
}
font[color] {
color: attr(color,color);
}
/* traditional desktop user agent colors for hyperlinks */
:link { color: blue; }
:visited { color: purple; }
img,object {
color-profile: auto;
rendering-intent: auto
}
/* default focus outline */
:focus {
outline: 1px dotted gray;
outline: 1px solid flavor;
}
0 comments: Responses to “ Sample style sheet for (X)HTML ”