View Single Post
Old 05-14-2024, 07:01 PM   #9605
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 6,395
Karma: 3966377
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
Quote:
Originally Posted by pokeseeker View Post
Whenever I download a fic from Fanfiction.net, it always ends up center justified. And I have:
Code:
add_to_keep_html_attrs:,style,title,align
This setting is, in fact, the problem.

ffnet, for whatever reason, has an align="center" attribute on the chapter text containing tag.

You don't normally see it, because ffnet also has CSS that overrides it.

This isn't new, I remember seeing it years ago--chapters would appear centered until the CSS loads.

So you can either remove 'align' from your add_to_keep_html_attrs setting, or add an output_css setting to override it. Something like:
Code:
add_to_output_css:
 .storytext { text-align: left; }
JimmXinu is online now   Reply With Quote