I am building a small WebApp, and using a list to display country values for a specific variable. It should be like
Country A 10
Country B 4
Country C 125
So, what I have in CSS is this:
Expand|Select|Wrap|Line Numbers
- .variable {
- font-size: 12px;
- font-weight: bold;
- color: #7388a5;
- }
- .value {
- font-size: 12px;
- text-align: right;
- float: right;
- }
Expand|Select|Wrap|Line Numbers
- <ul>
- <li>
- <span class="variable">Afghanistan</span>
- <span class="value">10</span>
- </li>
- </ul>
What is this, and how can I solve this?
Thanks for any hints!