SitePoint Sponsor

User Tag List

Results 1 to 7 of 7

Threaded View

  1. #1
    SitePoint Member
    Join Date
    May 2011
    Posts
    13
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Vertically aligning an image in a div

    Hi

    Please see the following URL:

    http://www.tenthtime.co.uk/samsung-l...0e-32in-lcd-tv

    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!

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


Bookmarks

Posting Permissions

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