Take the 2-minute tour ×
Web Applications Stack Exchange is a question and answer site for power users of web applications. It's 100% free, no registration required.

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
2  
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 at 20:33

1 Answer 1

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

Click here to see example

share|improve this answer

Your Answer

 
discard

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.