tf2012
asked on
vertical centering a <p> tag in a div.. automatically
I have a fixed height div and I want to center a <p> tag that will vary in length, so it has to center vertical inside the div automatically. I tried padding:0 auto 0 auto; and it didn't work.
How can this be done? It's wordpress so I assume css 3 is available
How can this be done? It's wordpress so I assume css 3 is available
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER