« first day (2367 days earlier)      last day (1421 days later) » 

3:07 PM
Hi all, I've got question regarding CSS ::selection.
Anyone knows, what is the reason of such behaviour of few different browsers, when highlighting the text with cursor:
- in IE, the tint of a selection has by default kind of "bottom padding", so there's surplus of highlight under the font, of about 15px
- in Chrome and Firefox such "bottom padding" or surplus is also present, but is about 2x smaller.

Is it possible to change this selection somehow, I mean decrease this surplus in IE?
 
3:23 PM
@JohnDoenym this should be related to the font you are using. You are probably relying on the default font which is different across browser. Try to explicitely set the font-family so it's the same everywhere.
 
4:14 PM
@TemaniAfif it probably is, because editing line-height didn't helped.
 
 
3 hours later…
7:33 PM
 
 
3 hours later…
10:43 PM
posted on October 23, 2019

New Cyanide and Happiness Comic

 

« first day (2367 days earlier)      last day (1421 days later) »