I don't seem to find the right solution for vertically aligning things. Here is the piece of markup I'm using (note: I'm using Angular and hence {{something}} is replaced with the correct text):
<td style="width:55%;text-align:center;vertical-align:middle"> <font size="3" color="#0B3861"> <label style="max-width:150px;background:#BDBDBD;border-radius:15px;padding:5px 10px 5px 10px;white-space: nowrap;overflow: hidden;text-overflow: ellipsis" title="{{Legend}}" dir="auto"> <b> {{Legend}} </b> </label> </font> <span type="button" ng-model="Notifs" ng-click="Present_Notifications()" style="background:green;padding:0 4px 0 4px;cursor:pointer;margin:0 0 10px 10px;height:50px"> <font size="2" color="white"> <i class="glyphicon glyphicon-flag"> </i> </font> </span> </td> What I get is:
The green box with the white flag should be vertically align (middle) with the legend (John Smith...).
Could anyone tell me what I'm doing wrong?
Thanks!!

margin: 10px;instead ofmargin: 0 0 10px 10px;