Yes?
Same link you gave had this below what your were referencing.
[quote]
The exception is when they occur in the value of the font-size property itself,
in which case they refer to the computed font metrics of the parent element (or
the computed font metrics corresponding to the initial values
> On Jul 21, 2016, at 12:17 PM, Karl DeSaulniers wrote:
>
> That is incorrect I believe. FWIU Em is based off of the first parent element
> to declare a 'px' based declaration of same type.
no.
http://www.w3.org/TR/css-values/#font-relative-lengths
[quote]
em unit
Equal to the computed val
That is incorrect I believe. FWIU Em is based off of the first parent element
to declare a 'px' based declaration of same type.
font-size
width
padding
etc..
Otherwise it is set by the body and default browser px size. Same with percent.
You are correct however, you can't just blindly convert
> On Jul 21, 2016, at 2:05 AM, John J wrote:
>
> Working on my code, I decided to see what they CSS validator had to say
> about it, and it threw out 154 errors, most of which were about rem as my
> value of measure for things like padding, type, borders, margin.
>
> I am using rem on advice of
I would just convert to em and not rem and move on. Validator should be fine
with em. If not, em can be converted to percent and do the same I believe. I
usually use percent and em on fonts.
Hth,
Best,
Karl
Sent from losPhone
> On Jul 20, 2016, at 12:05 PM, John J wrote:
>
> Working on my c
On Wed, Jul 20, 2016 at 1:05 PM, John J wrote:
> Working on my code, I decided to see what they CSS validator had to say
> about it, and it threw out 154 errors, most of which were about rem as my
> value of measure for things like padding, type, borders, margin.
>
> I am using rem on advice of a
Working on my code, I decided to see what they CSS validator had to say
about it, and it threw out 154 errors, most of which were about rem as my
value of measure for things like padding, type, borders, margin.
I am using rem on advice of a developer who said that a certain pinhead,
un-named brows