<div class="timer">00:01:05</div>
A 154x30px box is created by the CSS below:
div.timer
{
font: 700 24px Arial, Helvetica, sans-serif;
}
On the same div element, this CSS generates a 154x19px box.
div.timer
{
font-weight: 700;
font-size: 24px;
font-family: Arial, Helvetica, sans-serif;
}
How is it possible for both sizes to be generated? I have checked the shorthand property and can't figure out what went wrong. The order of attributes seems correct to me.