I've looked at a few posted solutions for centering the vertical alignment of an image and text (such as these: Vertically align text next to an image?)
However, I'm also trying to fix the image to the left, and horizontally center the text.. just like in a footer, where an image would be "pinned" on the left and the navigation ( or disclaimer text) would be horizontally centered in that footer (and it's position would adjust depending on the size of the viewport).
This is what I have so far:
<div style="width:100%; text-align: center;">
<img src="logo.png" alt="my logo" style="vertical-align:middle; float: left;" />
<span>Copyright 2015 by Company, LLC. All Rights Reserved</span>
</div>
Adding "float: left;" disables "vertical-align:middle;". However, if I remove the float property, I'm not sure how to pin the logo to the left then.
Any ideas how i can achieve this. Just looking for a simple answer, nothing too complex.
Thanks!