i just need a way to make an image align vertically within it's parent element (in this case, an <li>
, but would be nice if solution worked for <div>
as well). i have tried everything and can't get anything to work...
basically, i want to align it vertically. also, i do not know the height of the parent element ahead of time.