Click to See Complete Forum and Search --> : vertical-align


Madoushi
09-17-2008, 03:06 AM
My question is about "vertical-align" in css, just want to know if this property has the same function that "valign" in html... because I want to make a vertical align on many elements of my web page, but no way... wtf? Anyone have substitution tricks to do this?

Centauri
09-17-2008, 06:19 AM
Vertical-align has basically the same functions as valign on those elements that valign works on - table cells. Vertical-align also works on inline elements to align relative to the parent's inline box. There is no mechanism for vertically aligning within a block level element - vertical position is normally determined by content.

What are you trying to "align" ?