html - Remove inline padding without removing line breaks -
i've got collection of span
s want squeeze 1 line, similar language stats graph on github project page. problem span
s have spacing between them (which didn't add) , parent @ width: 100%;
, line wraps.
github:
my attempt:
i found helpful information in this question asked earlier on so. showed me solution problem having.
however, still have problem - because i'm using haml, i've got line breaks between spans in original source, , don't know how remove them. i'm looking way remove spacing between spans when spans do have line breaks between them.
i've got fiddle showing i'm trying http://jsfiddle.net/j9y7a/1/ -- above version shows how want look, bottom shows happens when line breaks present.
how can remove spacing between line-separated span
tags without removing line breaks?
Comments
Post a Comment