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? 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. 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. Link to comment https://forums.phpfreaks.com/topic/31482-vertical-alignment/#findComment-146035 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.