Is it just me, or is {font-family: initial;} not working correctly in Safari?

0
8
Asked By CuriousCat87 On

I'm trying to set an inner div's font back to the default (which is usually Times New Roman unless the user changed it) while having a defined font in the outer div. In Edge and Firefox, the font hierarchy works as expected (Times New Roman > Arial > Times New Roman). However, in Safari, it seems to render the hierarchy incorrectly as Times New Roman > Arial > Arial. Just checking if this is a bug in Safari or if I'm missing something?

1 Answer

Answered By CodeWizard92 On

What exactly are you trying to achieve with this font setup? It sounds like you're hoping to reset the font in nested divs?

FontGuru99 -

Yes! I'm trying to make the inner div's font switch back to the system default while still using a defined font for the outer div. It works in other browsers, but not in Safari.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.