Why isn't this image centered?

http://dev2.magickitchen.com/landing/fox-and-friends/  Please see the food image lower down the page. Code is:
<p style="text-align:center;"><img class="img-responsive" src="/images/food-strip-2.jpg" alt="our meals"></p>

So why is it not centered? Looking forward to your help.

Signed, frustrated. :)
Melody ScottAsked:
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.

William FulksSystems Analyst & WebmasterCommented:
It's asking for a login to view the page, but I can tell you that text-align:center won't work the way you're using it. Instead, put that alignment in the container which has the paragraph and image, then it should work. Does that make sense? If I could view your code I'd be able to tell you exactly where it goes.
Peter HartCommented:
the link is un- viewable
but you should try the following:

replace:
<p style="text-align:center;"><img class="img-responsive" src="/images/food-strip-2.jpg" alt="our meals"></p>

with:
define:
img.centerimg {
    display: block;
    margin-left: auto;
    margin-right: auto }

then use

<img class="centerimg" src="/images/food-strip-2.jpg" alt="our meals">


or change your class "img-responsive"  to include the following:

display: block;
margin-left: auto;
margin-right: auto

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
Tamati IroSystems DeveloperCommented:
replace
<p style="text-align:center;"><img class="img-responsive" src="/images/food-strip-2.jpg" alt="our meals"></p>
with
<div align="center"><img class="img-responsive" src="/images/food-strip-2.jpg" alt="our meals"></div>
Melody ScottAuthor Commented:
Oh, Apologies! I forgot I locked that again. I'll try one of these.
Melody ScottAuthor Commented:
Used this, and it works. You did it blind, great job! or change your class "img-responsive"  to include the following:

display: block;
margin-left: auto;
margin-right: auto
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.