Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User efras's Avatar
    Join Date
    Aug 2003
    Posts
    10
    Hi,

    Here is the sample XHTML code I tested on my 3650 :

    <html>
    <body>
    <div>
    <img style="float: left" alt="" src="file.jpg"/>
    Text around the float image.<br/>
    </div>
    <div>
    <table>
    <tr>
    <td>Foo bar Foo bar Foo bar Foo bar Foo bar</td>
    <td>Foo bar Foo bar Foo bar Foo bar Foo bar</td>
    </table>
    </div>
    </body>
    </html>

    I have a problem with the table : the second line is tabbed.
    In fact, it seems that the tab width is equal to the preceding float image width.
    Is it a known bug ?
    Is there a workaround ?

    Thanks,

    Eddy

  2. #2
    Registered User skvincent's Avatar
    Join Date
    Aug 2003
    Posts
    4
    just a note:

    you're missing your closing </tr>.

  3. #3
    Registered User efras's Avatar
    Join Date
    Aug 2003
    Posts
    10
    Yep, sorry, I forgot it when I made a copy/paste of the code.
    The result is still the same with the closing </tr>.

  4. #4
    Regular Contributor Satu's Avatar
    Join Date
    Mar 2003
    Posts
    466
    Hi,

    try it so that you define floating with <style> element inside <head> element. And remember the closing </tr>. The code would look like this

    <?xml version="1.0" encoding="utf-8"?>
    <!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN"
    "http://www.wapforum.org/DTD/xhtml-mobile10.dtd" >

    <html>
    <head>
    <title>Test</title>
    <style type="text/css"/>
    img{float:left}
    </style>
    </head>
    <body>
    <div>
    <img alt="" src="file.jpg"/>
    Text around the float image.<br/>
    </div>
    <table>
    <tr>
    <td>Foo bar Foo bar Foo bar Foo bar Foo bar</td>
    <td>Foo bar Foo bar Foo bar Foo bar Foo bar</td>
    </tr>
    </table>
    </body>
    </html>

    Please let us know if the problem still exists.

    Kind regards,
    Satu/Forum Nokia Developer Support

  5. #5
    Registered User efras's Avatar
    Join Date
    Aug 2003
    Posts
    10
    I tried your code sample but it does not work.
    The CSS style is ignored and the image is not floating (the following text is align at the bottom on the image).

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved