changing text-align: justified to left
I've downloaded a bunch of books from project gutenberg and some have a stylesheet/css file that contains
body {
margin: 5%;
background: #faebd0;
text-align: justified
}
Others don't have a text-align in the body section.
I prefer a ragged-right margin. If I append the following to the css file that should do it.
body {
text-align: left;
}
That seems like the simplest solution. Or, to every .html file that's the body of the book add before the closing </head> tag the following.
<style>
body {text-align: left;}
</style>
What's the best way to get ragged right if there is a better way than my above two ideas, and if appending to the css file is a good way, how can I do that automatically when I add books to my library?
|