View Single Post
Old 09-30-2022, 07:11 PM   #9
hobnail
Running with scissors
hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.
 
Posts: 1,590
Karma: 14328510
Join Date: Nov 2019
Device: none
Quote:
Originally Posted by Karellen View Post
I started cleaning up a book yesterday and for a few minutes couldn't figure out why the font was so large on all the pages.

CSS was clean as I had replaced it. There was no in-line styling. The <body> tag was clean, no <div> tags.

Ends up the styling was in the html tag, which I had not seen before in any other book...

PHP Code:
<?xml version='1.0' encoding='utf-8'?>
<html xmlns="http://www.w3.org/1999/xhtml" style="font-size:1.250rem;">
A quick S&R fixed it.
I always have calibre convert the book. Even if it's an epub I'll do an epub to epub conversion. I don't know, but I suspect (hope) that calibre would fix this and put it in the stylesheet.css file.
hobnail is offline   Reply With Quote