| 
              
                
                  
                   | 
            
            
              
              
                
      
    
                
                 | 
            
            last edited 17 years ago by page | 
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | ||
| 
              Editor: kratt6
               Time: 2007/12/05 02:42:36 GMT-8  | 
          ||
| Note: Problem in Stylesheet | ||
added:
From kratt6 Wed Dec 5 02:42:36 -0800 2007
From: kratt6
Date: Wed, 05 Dec 2007 02:42:36 -0800
Subject: Problem in Stylesheet
Message-ID: <20071205024236-0800@axiom-wiki.newsynthesis.org>
I tracked down the bug. In the stylesheet, we find::
  /***********************************************************************-*-c-*-
   MathAction styles
   For easier upgrades, you may want to add your changes as overrides at the end
   *****************************************************************************/
  pre, code {
    white-space: pre; /* CSS2 */
    white-space: -moz-pre-wrap; /* Mozilla */
    white-space: -hp-pre-wrap; /* HP printers */
    white-space: -o-pre-wrap; /* Opera 7 */
    white-space: -pre-wrap; /* Opera 4-6 */
    white-space: pre-wrap; /* CSS 2.1 */
    white-space: pre-line; /* CSS 3 (and 2.1 as well, actually) */
    word-wrap: break-word; /* IE */
  }
But http://www.w3.org/TR/CSS21/text.html says::
  pre-line
  This value directs user agents to collapse sequences of whitespace. Lines are broken at newlines in the source, at occurrences of "\A" in generated content, and as necessary to fill line boxes.
So it is out of place here.  BTW, Konqueror claims::
    KHTML is the only browser that supports all CSS 2.1 values such as pre-line and pre-wrap
Martin
        
The following numbers should be right justified:
  123
   12
    1
Same when using pre
  thisi
   iswr
    ong
axiom)se ou alg on product(product(j*i, i=1..n), j=1..m) m n ++-++ ++-++ (1) | | | | i j | | | | j= 1 i= 1
![]()  | (1) | 
Does it work on FireFox??
Unfortunately, I could not convince konqueror to use a local copy of the zwiki stylesheet, to find out more.
Martin
  /***********************************************************************-*-c-*-
   MathAction styles
   For easier upgrades, you may want to add your changes as overrides at the end
   *****************************************************************************/
  pre, code {
    white-space: pre; /* CSS2 */
    white-space: -moz-pre-wrap; /* Mozilla */
    white-space: -hp-pre-wrap; /* HP printers */
    white-space: -o-pre-wrap; /* Opera 7 */
    white-space: -pre-wrap; /* Opera 4-6 */
    white-space: pre-wrap; /* CSS 2.1 */
    white-space: pre-line; /* CSS 3 (and 2.1 as well, actually) */
    word-wrap: break-word; /* IE */
  }
But http://www.w3.org/TR/CSS21/text.html says:
pre-line This value directs user agents to collapse sequences of whitespace. Lines are broken at newlines in the source, at occurrences of "\A" in generated content, and as necessary to fill line boxes.
So it is out of place here. BTW, Konqueror claims:
    KHTML is the only browser that supports all CSS 2.1 values such as pre-line and pre-wrap
Martin