[Date Index][Thread Index]
[Date Prev][Date Next][Thread Prev][Thread Next]

Problem with wml::std::grid




I've to forward this to the list because Torsten posted to it before you was
suceessfully subscribed. And you know, because of the anti-spamming issue
non-subscribers are no longer allowed to post.

Torsten: You're now successfully subcribed, so that was
         just a problem from this first message which
         was a little bit too fast for Majordomo ;-)

                                       Ralf S. Engelschall
                                       rse@engelschall.com
                                       www.engelschall.com

----- Forwarded message from owner-sw-wml@engelschall.com -----
From: Torsten Naumann <Torsten.Naumann@Informatik.TU-Chemnitz.DE>
Reply-To: TNaumann@gmx.de
To: sw-wml@engelschall.com
Subject: Problem with wml::std::grid

Hi,

I have a problem with the wml::std::grid.

Here comes my test wml file:
--------------------------------------
#use wml::std::grid

<grid layout="1x1" width="100%" padding="0" spacing="0" bglocor="000000">
<cell>
 <grid layout="1x1" width="100%" padding="5" spacing"0" bgcolor="ffffff">
 <cell>
 This is a test!
 </cell>
 </grid>
</cell>
</grid>
--------------------------------------

And here comes the output of
wml -O2 -o test.html test.wml
--------------------------------------
<table width="100%" border="0" cellspacing="0" cellpadding="5">
  <tr>
    <td align="left" valign="top">
    <table width="100%" border="0" cellspacing="0" cellpadding="5" bgcolor="#ffffff">
      <tr>
        <td align="left" valign="top"> This is a test!
 </td>
      </tr>
    </table>
</td>
  </tr>
</table>
--------------------------------------

As you can see there is a wrong value cellpadding in the inner table
altough the wml file say at this value 0 instead of 5 !!!

You can try it also with interchanging the values inner p=0, s=0 and
outer p=0, s=1 and so on. Every changing shows a different behavior.

Has anybody the same problem, any solutions or ideas?

--
Torsten
 ________________________________________________________________
/_ \ Torsten Naumann  Chemnitz University of Technology, Germany \
\@)_\         Email:  Torsten.Naumann@informatik.tu-chemnitz.de   \__
     \        Phone:  +49-371-5614295   Mobile: +49-177-2382319    \(@\
      \_____________________________________________________________\_/

----- End forwarded message -----
______________________________________________________________________
Website META Language (WML)                www.engelschall.com/sw/wml/
Official Support Mailing List                   sw-wml@engelschall.com
Automated List Manager                       majordomo@engelschall.com