Web Applications Stack Exchange is a question and answer site for power users of web applications. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I know that Craigslist allows for limited HTML and CSS, but I can't figure out how to vertically align images.

I've tried the vertical-align style, valign attribute, floating and adding padding.

share|improve this question
Could you maybe post the code you've tried or a link to the post if you put it up? – batpigandme Jun 15 '13 at 19:26
Isn't craigslist phasing out the in-text image function? I think they are moving toward the image uploading function: "Externally-hosted images (IMG tag) will soon be disallowed in for-sale ads. Please use CL image upload. " – Reuben L. Jun 16 '13 at 12:05
@ReubenL. From what I've read, this is only in the "For Sale" section. That message doesn't appear on the "Service Offered" postings – Mirov Jun 16 '13 at 18:29
Get in your time machine and travel several hundred thousand years into the future when craigslist isn't coded by huge clowns, then use vertical-align: middle; as usual. – reisio Feb 28 '14 at 20:33

You can do it via using display: table-cell; for your parent element.

Click here to see example

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.