>
> >If the defaults are clearly defined, then it is simple to
> override those
> >properties.
>
> That is simply not true. Let me give you an example:
>
> Assume that the following CSS rule is *embedded* in the output of
> EnhancedHTMLAppender. The embedded rules are what you would call the
> default rules.
>
> H1.someclass {
> text-decoration: none;
> font-family: Helvetica, sans-serif;
> font-weight: bold;
> background: #DDD;
> color: #0066CC;
> border: 3px solid green;
> padding-left: 1em;
> padding-right: 1em;
> padding-top: 3px;
> padding-bottom: 0px;
> }
>
> Let the user include a CSS file (with the intent of overriding the
> default rules). Let that CSS file contain the following rule:
>
>
> H1.someclass {
> background: black;
> color: white;
> border-bottom: 1px solid red;
> }
>
> The actual applicable rule will be a combination of the embedded rule
> *and* the rule from the CSS file. If the embedded rule is mentioned
> before the CSS file, then the output will have a black back ground,
> white font and a red border-border but it will also rendered in bold,
> Helvetica font, with 3px green border at the top, left and right, in
> addition to the padding rules from the embedded CSS.
>
> CSS rules do not combine simply, far from it.
>
I agree with all of that comment, but I would refer to the previous emails
about making and keeping the base styles very basic.
I was thinking of defining styles for the default font, alternating lines,
and styles for each level.
I understand the discussion in relation to the complexity of css, but agree
with previous statements that if we make the defaults work well, then there
won't be a major reason to override them.
My styles for the layout would be:
.text {}
.debug {}
.debug2 {}
.info {}
.info2 {}
.warn {}
.warn2 {}
.error {}
.error2 {}
.fatal {}
.fatal2 {}
I think this basic list would be simple to overwrite if the user felt the
need to.
Steve
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]