Tagged: default value, line height, pixels
Author | Posts |
---|---|
Chazzer
February 1, 2014 at 7:09 pm
|
Heads up! this post was created when Microthemer was at version 2. The current version is 7. Some references to the interface may be out of date. Unless other properties, Line Height does not assume px by default. The unit of measurement has to be entered or the rendered page goes all to pot. |
Sebastian
February 3, 2014 at 1:29 pm
|
Hi Chazzer, Yes this is deliverate actually. You don’t need to specify a unit value for CSS line-height. If the font size is 10px and you specify a line-height of 1.5 the result will be the same as specifying a line-height of 15px. I think the former option is better in most circumstances (to keep to spacing proportional to the font-size). But the main reason Microthemer doesn’t default to pixels even though that would be consistent with other settings is that, if it did, it wouldn’t be possible to override the funcitonality and set only a number. Cheers, Sebastian |
Chazzer
February 5, 2014 at 8:39 pm
|
It makes sense now you have explained it. |
Sebastian
February 5, 2014 at 10:15 pm
|
No problem! |