So recently I stumbled across this answer's CSS:
larger {
width: 66.66666666%;
}
smaller {
width: 33.333333333%;
}
Which got me thinking: How much digits are really interpreted from browsers using stylecheets? As I fail to see a difference already when using 4 digits in Chrome.
I have set up an example on JsFiddle using the following code:
CSS:
body, div {
width: 100%;
min-height:2em;
margin:0px;
padding:0px;
white-space: nowrap;
font-family: monospace;
}
.left {
display:inline-block;
background: green;
float:right;
}
.right {
display:inline-block;
background: blue;
float:left;
}
.zero .left {
width: 33%;
}
.zero .right {
width: 66%;
}
.two .left {
width: 33.33%;
}
.two .right {
width: 66.33%;
}
.four .left {
width: 33.3333%;
}
.four .right {
width: 66.6666%;
}
.eight .left {
width: 33.33333333%;
}
.eight .right {
width: 66.66666666%;
}
HTML:
<div class='zero'>
<div class='left'>33</div>
<div class='right'>66</div>
</div>
<div class='two'>
<div class='left'>33.33</div>
<div class='right'>66.66</div>
</div>
<div class='four'>
<div class='left'>33.3333</div>
<div class='right'>66.6666</div>
</div>
<div class='eight'>
<div class='left'>33.33333333</div>
<div class='right'>66.66666666</div>
</div>