View Single Post
Old 05-24-2014, 10:38 AM   #3
jocampo
Layback feline
jocampo ought to be getting tired of karma fortunes by now.jocampo ought to be getting tired of karma fortunes by now.jocampo ought to be getting tired of karma fortunes by now.jocampo ought to be getting tired of karma fortunes by now.jocampo ought to be getting tired of karma fortunes by now.jocampo ought to be getting tired of karma fortunes by now.jocampo ought to be getting tired of karma fortunes by now.jocampo ought to be getting tired of karma fortunes by now.jocampo ought to be getting tired of karma fortunes by now.jocampo ought to be getting tired of karma fortunes by now.jocampo ought to be getting tired of karma fortunes by now.
 
jocampo's Avatar
 
Posts: 3,034
Karma: 6980745
Join Date: Nov 2010
Location: USA
Device: Oasis 2nd gen, Sony DPTS1, iPad Pro 10.5"
Does Amazon do some extra formatting on their books?

Quote:
Originally Posted by elemenoP View Post
In the example you posted, it looks to me like the first version (is it epub?) has LESS formatting than the Amazon version, not more. Both use a different font for the code, and the MS version ALSO changes the color. It's just that you don't like the aesthetic choices they made. (The pink makes the code stand out more, but I have to agree with you that I have never seen italic used to represent code, that's weird).

In order to change it, open in a text editor and see what the tags around the code samples are. Then you can try to set up a new CSS definition for that tag. That's the general idea.

eP

It's MOBI, no ePub. As a matter of fact, I've not seen yet an online store (not Amazon) selling computer books in ePub, but that's another story.

Anyway, so I need to change the CSS definition? Is that on one place?

You're right, is due aesthetic. I've never seen code in italic and pink. It's hard to read, at least for me.
jocampo is offline   Reply With Quote