html - Remove inline padding without removing line breaks -


i've got collection of spans want squeeze 1 line, similar language stats graph on github project page. problem spans have spacing between them (which didn't add) , parent @ width: 100%;, line wraps.

github:

github language stats

my attempt:

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?

if add

float:left; 

to .pipeline-bucket-segment, segments put nicely together.

read floats here.


Comments

Popular posts from this blog

how to proxy from https to http with lighttpd -

android - Automated my builds -

python - Flask migration error -