View Single Post
Old 12-28-2011, 01:16 PM   #1
meadowlarkOR
Junior Member
meadowlarkOR began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Dec 2011
Device: nook
Help with vertical alignment, table cell content

Hello all,

I am converting book chapters from InDesign CS 5.5 to epub. I have some tables that are giving me trouble, and I'm pretty new to CSS so in trying to correct the problems I have double trouble.

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?

Thank you.

p.table-text {
font-family : "Palatino Linotype", serif;
font-weight : normal;
font-style : normal;
font-size : 0.79em;
text-decoration : none;
font-variant : normal;
line-height : 1.16;
text-align : left;
vertical-align : top;
color : #000000;
text-indent : 0px;
margin : 0px;
}
meadowlarkOR is offline   Reply With Quote