Re: CSS, css, etc. [css layout should be symmetrical]

On Thursday 21 February 2002 12:16, Daniel Glazman wrote:
|   Vadim Plessky wrote:
[...]
|   >Is it HTML or XML?
|
|   HTML.
|
|   >BTW: can you send me your example, please?
|
|     <html>
|       <head>
|         <title>test for www-style</title>
|         <style type="text/css">
|         div.t { display: table; width: 100%; border: 1px solid black}
|         div.r { display: table-row}
|         div.c { display: table-cell; border: 1px solid black}
|         </style>
|       </head>
|       <body>
|         <div class="t">
|           <div class="r">
|             <div class="c">aaaa</div>
|             <div class="c">aaaa</div>
|             <div class="c">aaaa</div>
|           </div>
|           <div class="r">
|             <div class="c">aaaa</div>
|             <div class="c">aaaa</div>
|             <div class="c">aaaa</div>
|           </div>
|           <div class="r">
|             <div class="c">aaaa</div>
|             <div class="c">aaaa</div>
|             <div class="c">aaaa</div>
|           </div>
|         </div>
|       </body>
|     </html>
|
|   Pretty simple, working just fine.

Hmm. On slightly modified example (to distinguish one cell from another)

      <div class="t">
        <div class="r">
          <div class="c">aaaa</div>
          <div class="c">aabb</div>
          <div class="c">aacc</div>
        </div>
        <div class="r">
          <div class="c">aaaa</div>
          <div class="c">bbaa</div>
          <div class="c">ccaa</div>
        </div>
        <div class="r">
          <div class="c">aaaa</div>
          <div class="c">bbbb</div>
          <div class="c">cccc</div>
        </div>

In Konqueror 2.2.2, I get:

       aaaa       aabb        aacc
       aaaa       bbaa        ccaa
       aaaa       bbbb        cccc

which is correct, IMO.

In Mozilla 0.9.8, I get:

       aaaa
       aabb        
       aacc
       
       aaaa
       bbaa        
       ccaa
       
       aaaa
       bbbb
       cccc

Do you have different results?

|
|   </Daniel>

-- 

Vadim Plessky
http://kde2.newmail.ru  (English)
33 Window Decorations and 6 Widget Styles for KDE
http://kde2.newmail.ru/kde_themes.html
KDE mini-Themes
http://kde2.newmail.ru/themes/

Received on Thursday, 21 February 2002 10:34:13 UTC