The Lodge is members-only web design and development videos and live help. Log In or Sign Up.
I did not understand, how this vertical align actually work?
can anyone pls let me know how is this work?
for a example: I have one box in that box, i have one button like “Contact Us” and i want to put that button on bottom. How i can do this on bottom.
Thanks in advance
Something like [this?](http://codepen.io/codegraphics/pen/AcKGm “”)
@CodeGraphics – thanks for your quick reply. Just one more question is that compatible with all browsers, like ie, phone browsers, safari etc?
I think so. Although i dont think absolute positioning works fine on small devices.
Absolute positioning works like a charm on small device. Fixed widths however…
It has nothing to do with absolute or relative positioning. I would rather come up with an HTML structure that will do most of the work for me rather than absolutely position an element.
Obviously in some cases it’s…ahem…absolutely necessary but if I can avoid it, I will.
Vertical align works to align multiple elements. A single element has nothing to align itself to.
Codepen showing examples…
there is some problems with comatibilities in using inline-block and vertical-align. Quote from http://css-tricks.com/what-is-vertical-align/ :
> However, be aware that not all browsers treat inline-block elements the same way, so vertical-align may be the least of your worries.
You must be logged in to reply to this topic.
Search for Stuff
Browse the Archives
Get the Newsletter
... or get the RSS feed