×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Aug 2003
    Posts
    10

    Bug on 3650 XHTML browser ?

    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
    Join Date
    Aug 2003
    Posts
    4
    just a note:

    you're missing your closing </tr>.

  3. #3
    Registered User
    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
    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
    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
  •  
×