I do have a div like this:
<div class="frontend-shop-cart-left">
<a href="#">
<img src="#" style=" display:inline; vertical-align: middle;height:60px; width:60px; " />
</a>
<a href="#">
<span style="margin-left: 15px; font-size: 14px;" >1</span>
</a>
</div>
The text ist vertical align to middle and it looks good. But if I am going to add two spans in the second href the rendering is bad.
It looks like this:
|-------|
| image | 1
| |
|-------|
2 3
But I want this.
|-------|
| image | 1
| | 2 3
|-------|
My html code is like this:
<div class="frontend-shop-cart-left">
<a href="#">
<img src="#" style=" display:inline; vertical-align: middle;height:60px; width:60px; " />
</a>
<a href="#">
<span style="margin-left: 15px; font-size: 14px;" >1</span> <br/>
<span style="margin-left: 15px; font-size: 14px;" >2</span>
<span style="font-size: 14px;" >3</span>
</a>
</div>
What is wrong with my CSS?