Page is a not externally linkable
- Code, Content, and Presentation
-- CSS
---- Why doesn't CSS have basic vertical align?


templatesofty - 5:00 am on Aug 7, 2012 (gmt 0)


If you recognize the height of your containing div, and therefore the height of your inner targeted div, or, if you the height of your inner div doesn\'t matter, then vertical positioning is easy. However, if you\'re vertically centering something that\'s variable, like text, vertical centering is a lot of complicated and need hacks.

[edited by: incrediBILL at 7:42 am (utc) on Aug 7, 2012]
[edit reason] removed URL, no sig links [/edit]


Thread source:: http://www.webmasterworld.com/css/4482037.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com