After extracting both the html and css from this specific page, I noticed a display issue when viewing the html in Firefox, particularly with the div containing c++ code snippets.
To troubleshoot, I copied and pasted the problematic code snippet div into jsfiddle, along with the entire css file which encompasses all the stylesheets linked within the html.
Upon inspecting the css attributes using the Firefox inspector tool after linking to the css file via
<link rel="stylesheet" type="text/css" href="cpp.css">
:
The
crayon-line
divs exhibit aline-height: inherit !important
The parent div is the
crayon-pre
divThe
crayon-pre
div reveals aline-height: 15px !important
Why are the line heights behaving in this manner? How can this be resolved?