View Single Post
Old 06-26-2011, 11:06 PM   #3
snarkophilus
Wannabe Connoisseur
snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.
 
Posts: 426
Karma: 2516674
Join Date: Apr 2011
Location: Geelong, Australia
Device: Kobo Libra 2, Kobo Aura 2, Sony PRS-T1, Sony PRS-350, Palm TX
Quote:
Originally Posted by Adjust View Post
Not sure what you mean here?
The particular problem I want to start with is that the css in each html file has this sort of thing:

Code:
  span.sgc-7 {font-size: 10.0pt;mso-ansi-language:EN-AU}
  span.sgc-6 {font-size:10.0pt;mso-ansi-language:EN-AU}
  span.sgc-4 {font-size:16.0pt}
  span.sgc-3 {font-size:10.0pt}
  span.sgc-1 {font-size:18.0pt}
and on my Sony Reader I get one font size regardless of the zoom level. I'm assuming that if I change the above to:

Code:
  span.sgc-7 {font-size: 1em;mso-ansi-language:EN-AU}
  span.sgc-6 {font-size: 1em;mso-ansi-language:EN-AU}
  span.sgc-4 {font-size: 1.6em}
  span.sgc-3 {font-size: 1em}
  span.sgc-1 {font-size: 1.8em}
or something similar I'll then get something that plays happier with my Sony.

I can obviously use find/replace on all files in something like Sigil or notepad++. That however got me thinking that there might be a general solution of removing all the duplicate CSS in every html file and putting it in a single stylesheet.

Cheers,
Simon.
snarkophilus is offline   Reply With Quote