Forum How do I...?

valign is not working

fbrzvnrnd
Hi,

I have a table with this code:

<table>
<tr valign="top">
 <td>D&nbsp;–</td><td>Allora, Pietru, cosa hai visto il pomeriggio del 5 agosto?</td>
 </tr>
<tr valign="top">
 <td>R&nbsp;–</td><td>‘nnella Madonna?</td>
 </tr>
(...)


In xhtml I see it ok, but the PDF generated by Prince, has got a valign middle instead the top I set.
What are I missing?


Thank you.

f.
mikeday
You can add a CSS rule like this:
tr[valign=top] > td { vertical-align: top }
fbrzvnrnd
Thank you, it is working fine!

f.