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 ?
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>
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).