I am trying to keep everything aligned vertically, but it seems I cannot figure it out.
here is css
fieldset span{ padding:50px 10px 0px 10px; float:left; clear:none; } fieldset span.buttons{ float:right; }
and html markup
<fieldset class="remove"> <span class="itemtype">story</span> <span class="itemtype">53547</span> <span class="title">New online education program aimed at curbing dangerous drinking</span> <span class="buttons"> <a href="#" target="blank"><img src="img/edit.png" alt="edit story" />Edit</a> <a href="#7" target="blank"><img src="http://www.bibliomania.com/graphics/read.gif" alt="read story" />Read</a> </span> <input type="hidden" name="featured[items][53547]" value="story" /> </fieldset>
and fiddle you can see how the image pushes and the text in the text of the tag 'a' needs to be fixed as a
change
Using a background image would be nice, but it makes the image go under the text. new violin
source share