View Full Version : Vertical-align

12-08-2005, 06:52 AM
Hi all,

is there any working alternate attribute for vertical-align. i have div tag of 50px height and inside it there is 1 word. i need to vertically align it in middle.

vertical-align:middle is not working.

thanks & regards,

12-08-2005, 07:02 AM
vertical-align only works on inline elements. A div is a block level element. Try using this instead.


12-08-2005, 07:06 AM
Thanks, nice idea !

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum