Computer programmers like myself don't like to clone specifications. I
like to specify things only once. Is there a way to abbreviate this
pair of styles. They are identical except for background colour.
I suppose I could use a pair of styles, but then I have to change all
the markup and it looks ugly in the markup. Is there as way to do
this purely in the style sheet so the markup does not know about it?
..titlejgloss, {
/* for java glossary title */
background : #91eaff;
border-color : #808080;
border-style : inset;
border-width : 1px;
display : block;
font-family : Arial,Helvetica,sans-serif;
font-size : 200%;
font-weight : bold;
padding : 5px;
margin-bottom : 10px;
margin-top : 0px;
}
..titlebgloss {
/* for gay glossary title */
background : red;
border-color : #808080;
border-style : inset;
border-width : 1px;
display : block;
font-family : Arial,Helvetica,sans-serif;
font-size : 200%;
font-weight : bold;
padding : 5px;
margin-bottom : 10px;
margin-top : 0px;
}
In practice I have a dozen or so of these things with theme and
variations.
--
Bush crime family lost/embezzled $3 trillion from Pentagon.
Complicit Bush-friendly media keeps mum. Rumsfeld confesses on video.
http://www.infowars.com/articles/us/...s_rumsfeld.htm
Canadian Mind Products, Roedy Green.
See http://mindprod.com/iraq.html photos of Bush's war crimes