CSS Timer text moves when it comes at number 1 -


does knows how change width of character? have timer , position good, when comes @ number 1, width of timer smaller. should same position time. there knows solution this? i'm using digital-7 font.

css:

#time {                         font-family: digital-7;                         font-size: 60px;                         position: absolute;                         margin: auto;                         top: 65px;                         left: 342px;                         color: white;                         text-align: right;                         display: block;                         width: 30px;                         text-align: right;                         letter-spacing:5px;                     } 

html:

<span id="time"></span> 

the problem is, using font not monospaced (all letters use same "invisible box" placed behind), solution you, can switch font - , requires no additional coding.

your font provided monospaced, try out > digital-7


Comments

Popular posts from this blog

sequelize.js - Sequelize group by with association includes id -

android - Robolectric "INTERNET permission is required" -

java - Android raising EPERM (Operation not permitted) when attempting to send UDP packet after network connection -