View Single Post
Old 01-01-2012, 07:46 AM   #2
AndiPersti
Member
AndiPersti invented the internet.AndiPersti invented the internet.AndiPersti invented the internet.AndiPersti invented the internet.AndiPersti invented the internet.AndiPersti invented the internet.AndiPersti invented the internet.AndiPersti invented the internet.AndiPersti invented the internet.AndiPersti invented the internet.AndiPersti invented the internet.
 
Posts: 10
Karma: 84230
Join Date: Jul 2011
Device: PocketBook 902
Quote:
Originally Posted by meadowlarkOR View Post
My table converts OK except that the text within the table cells is vertically aligned to the middle. I want it to align to the top. I added some CSS code I thought would do that, below. The part I added is "vertical-align : top;". It made no difference. Any ideas for me?
In your css-rule you're setting "vertical-align" on the <p>-tag. But this just aligns every single paragraph within its box.
You should put it on the <td>-tag instead which styles the whole table cell:

Code:
td {vertical-align: top;}
HTH, Andreas
AndiPersti is offline   Reply With Quote