Difference between revisions of "User:Cassiel Seraphim/Sandbox9"

From EVE University Wiki
Jump to: navigation, search
m
Line 1: Line 1:
 
{{#css:
 
{{#css:
.wrap div { margin:1px; padding-left:1px; border-spacing:0; border-collapse:collapse; display:inline-block; line-height:100%; }
+
.wrap div { margin:1px; padding-left:1px; border-spacing:0; border-collapse:collapse; display:inline-block; font-size:10px; color:wheat; line-height:100%; }
 
.bars { height:10px; vertical-align:middle; }
 
.bars { height:10px; vertical-align:middle; }
 
.c1 .bars { background-color:#D7D900; }
 
.c1 .bars { background-color:#D7D900; }
 
.c2 .bars { background-color:#93D500; }
 
.c2 .bars { background-color:#93D500; }
 
.c3 .bars { background-color:#51D200; }
 
.c3 .bars { background-color:#51D200; }
.text { font-size:10px; color:wheat; vertical-align:text-middle; }
 
 
}}
 
}}
 
== Foo ==
 
== Foo ==
Line 15: Line 14:
 
== Foobar ==
 
== Foobar ==
 
Can't get rid of the spacing between rows.
 
Can't get rid of the spacing between rows.
<div class="wrap c1"><div class="bars" style="width:11px;"></div><div class="text">1,06%</div></div>
+
<div class="wrap c1"><div class="bars" style="width:11px;"></div><div>1,06%</div></div>
<div class="wrap c2"><div class="bars" style="width:22px;"></div><div class="text">2,18%</div></div>
+
<div class="wrap c2"><div class="bars" style="width:22px;"></div><div>2,18%</div></div>
<div class="wrap c3"><div class="bars" style="width:100px;"></div><div class="text">10,00%</div></div>
+
<div class="wrap c3"><div class="bars" style="width:100px;"></div><div>10,00%</div></div>

Revision as of 23:59, 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%