Hi, I’m just wondering how do you guys remedy the problem with pre tags styles not rendering in Safari?
I’m having an issue placing codes on my site and Safari is driving me absolutely nuts since its not rendering anything that I styled with pre tags. Chrome however, renders fine.
Yup. I 've wrapped each code blocks with <pre> and <code>.
Did you see the font as Proxima Nova in Safari? I changed my fonts to Source Code Pro in my style sheets and my Safari is still showing Proxima Nova. Also, I configured word wrap but it didn’t get wrapped. Instead, it flowed right out of my text content block.
I do overflow: auto for the <pre> and I add word-wrap for mobiles (via @media), as I find overflow on mobiles either doesn’t work or is really difficult to use.