I'm having trouble aligning the <p>
vertically in the footer. I've attempted to use vertical-align:middle;
and margin-bottom:10px;
for the p
element, but it doesn't seem to be working as expected.
Code can be found here: http://jsfiddle.net/CL55P/
This is the HTML:
<footer>
<p id="sidfot">Contact us at:
<a href="mailto:<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="92fbfcf4fdd2e1fcfbf1f9e0f3e6bce1f7">[email protected]</a>"><a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="8ce5e2eae3ccffe2e5efe7feedf8a2ffe9">[email protected]</a></a> or 073 - 729 87 97</p>
</footer>
And this is the CSS:
footer{
clear:both;
width:100%;
height:40px;
line-height:40px;
position:fixed;
bottom:0px;
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
border-radius: 2px;
-moz-box-shadow: 2px 3px 6px -0.5px #ccc;
-webkit-box-shadow: 2px 3px 6px -0.5px #ccc;
box-shadow: 0px -3px 6px -0.5px #ccc;
background-color:#BFBDBF;}
#sidfot{text-align:center;
font-size:14px;
}
Appreciate any help!