View Single Post
Old 03-17-2013, 08:09 PM   #172
Brokkoli
Junior Member
Brokkoli began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Mar 2013
Device: calibre
Help!! Calibre overrides my CSS stylesheet


This is a line from my css, trying to make code look good:

Code:
.programlisting {
    font-family: "Anonymous Pro";
}
However, Calibri overrides it with its own stylesheet.css. I can right-click -> inspect element -> Computed Style --> Font-Family
And this is what is shows:

Code:
font-family: monospace;
.programlisting - monospace stylesheet.css:204
.programlisting - 'Anonymous Pro' user stylesheet
pre, xmp, plaintext, listing - monospace user agent stylesheet
body - georgia
So it tries to apply my setting but then overrides it with its own stylesheet!!?

Any help appreciated.
Brokkoli is offline   Reply With Quote