Can you figure out what's wrong with the placement of content outside the <footer>
tag in this HTML? Also, why is the text not perfectly vertically middle-aligned?
<html>
<head>
<style>
body {
margin-left: 20%;
margin-right: 20%;
}
footer {
text-align: center;
border: 1px dotted black;
}
#foo {
float: left;
vertical-align: middle;
}
#bar {
float: right;
}
</style>
</head>
<body>
<footer> <span id="foo">this is some text</span>
<span id="bar"><img src="http://i.imgur.com/wgFpmlN.png"></span>
</footer>
</body>
</html>