Thread: CSS Question
View Single Post
Old 11-12-2020, 03:14 PM   #38
deback
Book E d i t o r
deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.
 
Posts: 432
Karma: 288184
Join Date: May 2015
Device: Laptop
Quote:
Originally Posted by thiago.eec View Post
I beg to differ. It works just fine using this:

Code:
p {
   text-indent: 0em;
}
Also, see the CSS specification:


4.3.2 Lengths
Lengths refer to distance measurements.

The format of a length value (denoted by <length> in this specification) is a <number> (with or without a decimal point) immediately followed by a unit identifier (e.g., px, em, etc.). After a zero length, the unit identifier is optional.

https://www.w3.org/TR/CSS22/syndata.html#length-units
Okay, well, why does Calibre's Check Book display an error when "px" is missing from the width and height of an image class? I've had this type of error many times in the past.

Example of a class that would result in an error, per Check Book:

.image {
height: 300;
width: 400;
}
deback is offline   Reply With Quote