Given the html code shown below:
<tr>
<td>Some text <a href="">Some link</a> <button>Some Button</button></td>
</tr>
I am looking to achieve a layout where elements are positioned in different alignments within a table cell. Do I need to add extra markup like divs, or is there a way to do this with minimal additional markup while also ensuring vertical alignment?
What would be the best approach to accomplish this without cluttering the code?
You can find an example of my attempt at achieving this here: http://jsfiddle.net/stormwild/AAw78/17/
Another issue I'm facing is maintaining consistent text alignment across table cells when one cell contains floated elements – any suggestions on how to handle this challenge effectively?