In modern browsers you could use a CSS3 & HTML5 progress Element!
progress {_x000D_
width: 40%;_x000D_
display: block; /* default: inline-block */_x000D_
margin: 2em auto;_x000D_
padding: 3px;_x000D_
border: 0 none;_x000D_
background: #444;_x000D_
border-radius: 14px;_x000D_
}_x000D_
progress::-moz-progress-bar {_x000D_
border-radius: 12px;_x000D_
background: orange;_x000D_
_x000D_
}_x000D_
/* webkit */_x000D_
@media screen and (-webkit-min-device-pixel-ratio:0) {_x000D_
progress {_x000D_
height: 25px;_x000D_
}_x000D_
}_x000D_
progress::-webkit-progress-bar {_x000D_
background: transparent;_x000D_
} _x000D_
progress::-webkit-progress-value { _x000D_
border-radius: 12px;_x000D_
background: orange;_x000D_
}
_x000D_
<progress max="100" value="40"></progress>
_x000D_