I can't get the p
, input
and textarea
elements all be centered with in a li
elements in a user settings area I am working on right now. Right now only the input
and textarea
elements are being properly centered with in the li
elements while the p
elements are positioned right at the top. I have tried to apply
vertical-align: middle
to the li
element but it failed.
My example code link is here at JS Bin
To help guide you while looking at my example, each element's background color is as follows:
p
= redli
= cyaninput
&textarea
= white
How can I get the p
, input
and textarea
elements all be centered with in a li
elements?