CSS : "float" property vs "Display:inline-block"
Left div
vertical-align:top;
vertical-align:top;
I confess that I do not know CSS attribute “display: inline-block“, I thank Firebug and error in the Live.com site for this discovery.
This property allows to apply two kinds of “display” for the same element, in addition there is an equivalent for FireFox as well, namely “display:-moz-inline-box“.
Another advantage of this attribute is the ability to leave free the height of the element and the support of the property “vertical-align“.
This property allows to apply two kinds of “display” for the same element, in addition there is an equivalent for FireFox as well, namely “display:-moz-inline-box“.
Another advantage of this attribute is the ability to leave free the height of the element and the support of the property “vertical-align“.
Right div
vertical-align:bottom;
vertical-align:bottom;
Tested on : PC(IE6,IE7,IE8,FF2,FF3,OPERA), MAC(SAFARI,FF3,OPERA)