chiprivers Posted December 21, 2006 Share Posted December 21, 2006 I am always having trouble getting my text to align vertically within a table cell. I though it was done like this:[code]<td style="vertical-align: middle"> I want this text to appear vertically in the middle of the table cell!</td>[/code]But this never seems to work, can anybody point me in the right direction? Quote Link to comment https://forums.phpfreaks.com/topic/31482-vertical-alignment/ Share on other sites More sharing options...
Orio Posted December 21, 2006 Share Posted December 21, 2006 This should be in the CSS forum, not the PHP help forum :)Orio. Quote Link to comment https://forums.phpfreaks.com/topic/31482-vertical-alignment/#findComment-145825 Share on other sites More sharing options...
Daniel0 Posted December 21, 2006 Share Posted December 21, 2006 In a [tt]<td>[/tt]-tag vertical-align is by default middle, so that won't change anything. Quote Link to comment https://forums.phpfreaks.com/topic/31482-vertical-alignment/#findComment-146035 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.