Forums

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
    Posts
  • #238279
    humy65
    Participant

    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.

    #238280
    Shikkediel
    Participant

    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/

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