Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8 />
<title>JS Bin</title>
<style>
ul {
    border: 1px solid red;
    width: 120px;
    font-size: 16px;
    margin: 20px;
    padding: 0;
    list-style: none;
    overflow: hidden;
}
li {
    clear: both;
    color: green;
}
span {
    float: right;
    color: blue;
}
</style>
</head>
<body>
  
<ul>
    <li>some text <span>12.45</span></li>
    <li>some larger text <span>46.05</span></li>
    <li>some even larger text <span>46.05</span></li>
</ul>
</body>
</html>
Output

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
anonymouspro
0viewers