Mobile app version of vmapp.org
Login or Join
Ogunnowo857

: How does color affect kerning and leading in CSS? I received permission to make some changes to the company's website. All I've done so far is change Font Color and Background Color. Doing

@Ogunnowo857

Posted in: #ColorTheory #Css #Typography

I received permission to make some changes to the company's website. All I've done so far is change Font Color and Background Color. Doing so though made drastic changes in leading (line-height) and kerning (letter-spacing).

I'm really not the greatest at web design, and have never gone from a dark background to a light one. Do all browsers automatically make this change? Has CSS always done this?

To be clear I'm not using line-height or letter-spacing. They're not in my .CSS file at all. But visually they changed.

Here's a side-by-side:



I switched the left side to Multiply and positioned it directly on top to compare:



Is there a published standard somewhere that browsers use to determine a contrast to leading/kerning ratio or something? I've never experienced this before.

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Ogunnowo857

1 Comments

Sorted by latest first Latest Oldest Best

 

@Harper654

How does color affect kerning and leading in CSS?


It does not.

I will go mad and make my comment an answer:


check that it is not just zoom-levels in your browser you have
accidentally fiddled with
Do a dry-run: change in firebug (or other webdev tool) and see exactly what
parameters you need to alter (rightclick on element). Firebug will not let you "break" the
css
Most likely, chances are you have lost a curly
bracket {} somewhere, or a semi-colon somewhere (you do not need a semicolon on the last line of your selector, but for cleanliness it is best not to skip it).


There is no earthly reason why changing colours should do anything but that.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme