The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › Help with positioning
Hey CSS gurus,
I need to center an image and an input box inside of an outer div as follows:
Vertical center of input box should align to the vertical center of the outer div.
Image should be displayed above the input box, with 30px margin.
Image and input box should be centered horizontally inside outer div.
Please help.
Chances are thin that anybody would write the code for you on the basis of a rather vague description. Best to provide a small demo.
http://codepen.io/pen/