SitePoint Sponsor

User Tag List

Results 1 to 7 of 7

Threaded View

  1. #1
    SitePoint Member
    Join Date
    May 2011
    0 Post(s)
    0 Thread(s)

    Vertically aligning an image in a div


    Please see the following URL:

    What I'm trying to do is vertically align the product image, in this case a picture of a television, so that it is always vertically central in the available space.

    If you look at it right not the space at the bottom is somewhat greater than at the top, i.e. between the image and the product name text. The space available and size of the image will vary.

    Any ideas? I've been wracking my brains on this one!

    Last edited by Mittineague; May 26, 2011 at 15:50. Reason: OP forgot to turn off auto-title


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts