View Single Post
Old 02-24-2014, 01:27 AM   #19
cybmole
Wizard
cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.
 
Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
Quote:
Originally Posted by Jellby View Post
The problem with:

line-height:1.3
line-height:1.2em;

is not that there are two rules, or that one uses em and the other doesn't. The problem is that there is no semicolon between the two lines, and that's a syntax error.
ok fair cop - as I said, this was an artificial test file & I could not be bothered to do this

.class 1
{
line-height:1.3
}
.class2 {
line-height:1.2em;

etc

after seeing that last post, I wonde if putting line-height:initilal at END of CSS would negate all these fixed values anyway - this is for Kobo aura HD where the on-device line spacing options do not work if countermanded by fixed values in book CSS
cybmole is offline   Reply With Quote