CSS3 position image to center

I can't seem to get the CSS to position my images to the center of the table data tag. Can someone take a look at this please?backyard-example1.html
James CoatsComputer Info. Sys. StudentAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Alexandre SimõesManager / Technology SpecialistCommented:
Replace all your style block with this:
table td {
    text-align: center;
}

Open in new window

Here's a working demo
Just be aware that this will apply to all tables in the page.
Probably you want to be a bit more specific when applying styles in order to avoid modifying other other elements unintentionally.
James CoatsComputer Info. Sys. StudentAuthor Commented:
Hi Alex,

I just tried the code and it does not work for me or on your link. The text is centered but the image file still goes to the right. I am really having some problems on what seems like a very easy fix.
Alexandre SimõesManager / Technology SpecialistCommented:
The jsfiddle that I gave you doesn't work for you?

I just updated the example to add a border to the table cells so it's more evident that the image is centered: https://jsfiddle.net/AlexCode/pncsrrrr/embedded/result/

Can you send me a secrrenshot with what you're seeing there?
Can you also attach a couple of pictures you're using so that I can make a proper test case?

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
James CoatsComputer Info. Sys. StudentAuthor Commented:
Alexandre,

That worked perfectly!!

Sam
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
CSS

From novice to tech pro — start learning today.