View Single Post
Old 02-12-2014, 06:03 AM   #10
RbnJrg
Wizard
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 1,825
Karma: 8700631
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by Tex2002ans View Post
Of course! Right when I saw negative margins in your post, the same type of solution clicked for me (I hate it when that happens).

Thanks for the fantastic example.
You are welcome!

Quote:
I only did a few minor tweaks to your CSS:
  • Uncondensed margins.
  • Made the width 25% (adjusted margins to fit)
    • 5% was a little too thin when I used "VIII"
  • Removed specifying "black" from the border-top
    • This should allow the line to match the user specified font color
    • Tested it by changing the font color in Calibre, looked like the line color changed right along with it
Well done, but I would set the border-top color to #999 so the solution also can work in night mode. See my previous post.

Quote:
JPG?!?!?!?! You disappoint me! Have I taught you nothing about the superiority of PNG for artificial images?!!?!?
JPG is for pictures attached in my posts In ebooks I use .png images (or .svg when it matters )

Quote:
Quote:
Originally Posted by GrannyGrump
@RbnJrg -- but won't that look odd if the user does not have Black Text on a White Background?
Indeed... doesn't seem like there would be a perfect solution, but this is a fantastic step in the right direction.
Now, with a border-top color of #999 (or another shade of gray) is almost perfect

Regards
Rubén
RbnJrg is offline   Reply With Quote