Thank you very much for your interest.
I try to post an other code:
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:epub="http://www.idpf.org/2007/ops">
<head>
<title>Page 3</title>
</head>
<body style="background: red; margin: 0;">
<table cellpadding="0" cellspacing="0" style="float: left; width: 100%; height:100%;">
<tr>
<td style="background: green; height: 5%; width: 100%;">div1</td>
</tr>
<tr>
<td style=" background: blue; width: 100%; height: 45%;">div2</td>
</tr>
<tr>
<td style=" width: 100%; background: yellow; height: 30%;">div3</td>
</tr>
<tr>
<td style="height: 20%; width: 100%; background: aqua;">div4</td>
</tr>
</table>
</body>
</html>
In the attachment we see how Calibre shows it.
But iBooks doesn't fit this page to the right dimension, i only have 4 short colored stripes.
It should be a normal HTML behaviour but I think I'm missing something..
|