I've been trying to get the following CSS2 style sheet to work with IE v8, (Tools>Internet Options>Accessibility>User Style Sheet) but it doesn't want to. I got the css code off the web, but perhaps I haven't top and tailed it correctly? Any comments gratefully received, even one's that can barely disguise their exasperation at my unwillingness to learn the code properly before trying to implement it!
Mike P
---- start ----
* Sets the text color to black and the background color to white for the document body.
*/
<STYLE type="text/css">
BODY { color: black ! important ; background: blue ! important }
/* Causes the values of 'color' and 'background' to be inherited by all other elements, strengthened by !important. Note that this may be overridden by other, more specific, user styles. */
{ color: inherit ! important ; background: inherit ! important }
P { font-size: 64pt ! important }
/*
Sets the text color to black
and the background color to
white for the document body.
*/
BODY {
color: black ! important ;
background: red ! important
}
/*
Causes the values of 'color' and 'background'
to be inherited by all other elements,
strengthened by !important. Note that this
may be overridden by other, more specific,
user styles.
*/
* {
color: inherit ! important ;
background: inherit ! important
}
:focus { outline: thick solid black }
:active { outline: thick solid red }
DIV.example:after {
content: End Example
}
P:before {
content: counter(paragraph) ". " ;
counter-increment: paragraph
}
H1 {
voice-family: paul;
stress: 20;
richness: 90;
cue-before: url("ping.au")
}
IMG:after { content: attr(alt) }
</STYLE>
----- end -----
---
This transmission is confidential and may be legally privileged. If you receive it in error, please notify us immediately by e-mail and remove it from your system. If the content of this e-mail does not relate to the business of the University of Huddersfield, then we do not endorse it and will accept no liability.
|