Funky Padding

I have a page with images that flip.  For some reason I have a grey area under each image and I can't seem to find where in the CSS this is being controlled.

The CSS
/*Initial CSS*/
		div.flip-3d {
		perspective: 1200px; width: 30%; float: left;
		}

		div.flip-3d figure {
		position: relative;
		transform-style: preserve-3d;
		transition: 1s transform;
		font-size: 1.6rem;
		}
		div.flip-3d figure img {
		width: 100%; height: Auto;
		}

		/*Captions*/
		div.flip-3d figure figcaption {
		position: absolute;
		width: 100%; height: 100%; top: 0;
		transform: rotateY(.5turn) translateZ(1px);
		/*background: rgba(255,255,255,0.9);*/
		background: rgba(255,255,255,0.9);
		text-align: center;
		padding-top: 45%;
		/*opacity: 0.6;*/
		transition: 1s;
		/*transition: 1s .5s opacity;*/
		}
		/*Rotations*/
		div.flip-3d:hover figure { transform: rotateY(.5turn); }
		div.flip-3d:hover figure figcaption { opacity: 1; }

Open in new window


the Link
http://www.davidschure.com/portfolio.html
DS928Asked:
Who is Participating?
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.

GaryCommented:
In div.flip-3d figure figcaption {} remove the padding
0

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
DS928Author Commented:
That worked to straighten out the photo but now the text is no longer centered.
0
GaryCommented:
Put the text in a span and add this css

#market span {
    display: inline-block;
    margin-top: 25%;
}

Open in new window

0
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.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.