vertical-align should only work on elements that display as inline . <span> appears as inline by default, but not all elements. The paragraph block element <p> appears by default as a block. Table rendering types (e.g. table-cell ) allow you to use vertical alignment.
Some browsers may allow you to use the CSS vertical-align property for elements such as a paragraph block, but they should not. The text indicated as a paragraph must be filled out in written language, or the markup is incorrect, and one of several other parameters should be used instead.
Hope this helps!
mechler May 31 '09 at 1:52 2009-05-31 01:52
source share