W3C home > Mailing lists > Public > www-style@w3.org > February 2002

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

From: Vadim Plessky <lucy-ples@mtu-net.ru>
Date: Thu, 21 Feb 2002 18:34:26 +0300
To: glazman@netscape.com (Daniel Glazman)
Cc: www-style@w3.org
Message-ID: <auto-000020200856@umail.ru>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:13 GMT