OK, I know this has been discussed to death and people got greenlit answers for their questions but none of them work for me.
What I want to do is vertically center thumbnails, which are generated dynamically or loaded via AJAX into a div with a fixed size. In my case 200*200 pixel.
Please go to this site: click here and click on for example the "Web" button. You'll see that all the thumbnails are or on top of their boxes. I really tried everything I could think of. The only option I know would work is to hard-code the image height into every thumbnail tag but this would take forever because I would need to add their dimensions into the DB.
If you are using Firebug you can easily edit everything on the site to run tests, this is how I did it mostly.
I hope someone can help me here. I really would appreciate it. Thank you very much.