The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Help with positioning

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #238279

    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.

    <input type=”text”>

    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.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘CSS’ is closed to new topics and replies.