At 01:26 PM 9/13/2004, Steve Mactaggart wrote:
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 {}
If the rows alternate between even and odd rows, we can specify an odd debug line as <tr "class="odd debug">...</tr> and an even line as <tr class="even debug">...</tr>. So the above list becomes:
debug {}
info {}
warn {}
error {}
fatal {}
even {}
odd {}See http://www.w3.org/TR/REC-CSS2/selector.html for the exact details.
I think this basic list would be simple to overwrite if the user felt the need to.
Given that the default rules will used in most cases, there will be pressure to make the default rules look pretty and pleasant to the eye. Thus, we cannot conclude that the default rules will be necessarily simple. The point I am trying to make is that is that if the default rules are
embedded within the generated html file, then it will be hard, or at
least very confusing, for a non-expert user to override the defaults
css rules.
Steve
-- Ceki G�lc�
For log4j documentation consider "The complete log4j manual"
ISBN: 2970036908 http://www.qos.ch/shop/products/clm_t.jsp
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
