Difference between revisions of "User:Cassiel Seraphim/Sandbox9"
From EVE University Wiki
Line 1: | Line 1: | ||
{{#css: | {{#css: | ||
− | + | .wrap div { margin:1px; padding-left:1px; border-spacing:0; border-collapse:collapse; display:inline-block; } | |
− | . | + | .bars { height:10px; vertical-align:middle; } |
− | . | + | .c1 .bars { background-color:#D7D900; } |
− | .c2 { | + | .c2 .bars { background-color:#93D500; } |
− | .c3 { | + | .c3 .bars { background-color:#51D200; } |
+ | .text { font-size:10px; color:wheat; vertical-align:text-middle; } | ||
}} | }} | ||
== Foo == | == Foo == | ||
Line 13: | Line 14: | ||
== Foobar == | == Foobar == | ||
− | + | Can't get rid of the spacing between rows. | |
− | <div class=" | + | <div class="wrap c1"><div class="bars" style="width:11px;"></div><div class="text">1,06%</div></div> |
− | <div class=" | + | <div class="wrap c2"><div class="bars" style="width:22px;"></div><div class="text">2,18%</div></div> |
− | <div class=" | + | <div class="wrap c3"><div class="bars" style="width:100px;"></div><div class="text">10,00%</div></div> |
Revision as of 21:54, 29 November 2016
Foo
Having all the attributes in each <div> works fine ...
1,06%
2,18%
10,00%
Foobar
Can't get rid of the spacing between rows.
1,06%
2,18%
10,00%