2

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.

4
  • 2
    Could you maybe post the code you've tried or a link to the post if you put it up? Jun 15, 2013 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, 2013 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
    – Voriki
    Jun 16, 2013 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, 2014 at 20:33

1 Answer 1

1

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

Click here to see example

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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