W3C home > Mailing lists > Public > w3c-ietf-xmldsig@w3.org > April to June 2001

style sheet for CR-xmldsig-core-20010419

From: Susan Lesch <lesch@w3.org>
Date: Sat, 19 May 2001 19:02:06 -0700
Message-Id: <p05100300b72cd1090b8d@[]>
To: dee3@torque.pothole.com, reagle@w3.org, dsolo@alum.mit.edu
Cc: w3c-ietf-xmldsig@w3.org
Re: http://www.w3.org/TR/2001/CR-xmldsig-core-20010419/

.xml-dtd displays as stair steps in NN4 Mac, and I assume other NN4s.
See http://www.w3.org/2001/01/screenshots/dsig.png . Below is a try at
resolving that. I'd be happy to work with you on it. Kind of ran out
of time before the 19 May deadline for comments.

- removed unused rules, declarations, and classes
- removed rules with default values in .xml-example and .xml-dtd
- removed font-family and font-size declarations
   (This looked fine without them.)
- added padding to .comment and .xml-dtd
- added white-space: pre and border: none to .xml-example and .xml-dtd
   (A workaround for the stair steps.)
- changed .comment border-bottom etc. to shorthand border
- changed .xml-dtd background-color to hex
   (I'm told hex is better supported than rgb.)
- matched background and color properties
   (now passes CSS validation with no warnings or errors

Tested with reasonable results in Mac IE 3.01a, 4.01, 4.5, 5.0, iCab 2.5,
Amaya 4.3.2 Linux, NN 4.75 and 6.0 Linux, NN 4.77 and 6.01 Mac, and
Opera 5.0tp3 Mac. If you decide to use this, you may want to check Windows.

u {
     background: white;
     color: red;

code {
     font-weight: normal;

.link-def {
     background: white;
     color: teal;
     font-style: italic;

.comment {
     background: #fffff5;
     color: black;
     padding: .7em;
     border: navy thin solid;

.xml-example, .xml-dtd {
     margin-left: -1em;
     padding: .5em;
     white-space: pre;
     border: none;

.xml-dtd {
     background: #efeff8;
     color: black;

Susan Lesch - mailto:lesch@w3.org  tel:+1.858.483.4819
World Wide Web Consortium (W3C) - http://www.w3.org/
Received on Saturday, 19 May 2001 22:02:14 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:10:04 UTC