Forum Bugs

Prince doesn't render float:right div in table

facboy
The following html doesn't render the hello world div it seems, using Prince 9.0r5. Am I doing something wrong?

<!DOCTYPE html>
<html>

<body>

start
<table>
    <tbody>
    <tr style="position: relative;">
        <td>
            <div style="float: right;">
                hello world
            </div>
        </td>
    </tr>
    </tbody>
</table>
end

</body>
</html>
dauwhe
I think the issue is the position: relative, as the example does what I'd expect otherwise. CSS 2.1 spec says,

The effect of 'position:relative' on table-row-group, table-header-group, table-footer-group, table-row, table-column-group, table-column, table-cell, and table-caption elements is undefined.


What sort of design are you trying to achieve?

Thanks,
Dave
facboy
it's actually somebody else's problem that i'm posting for them, but I think they found a way around it.
mikeday
Hmm, that's odd behaviour, we'll take a look.