View Single Post
Old 02-07-2024, 04:18 AM   #2
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 74,581
Karma: 129670952
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by paperwhite13 View Post
There was a stringent need for this topic, and now it exists.
Code bloat is extra code that doesn't need to exist in your eBook be it in the CSS or the HTML.

Here is an example of code bloat.
CSS
[code]p {
font-size: 1em;
text-align: justify;
text-indent: 1.2em;
}[quote]

The font-size and text-align do not need to exist. 1em is the default font size and a text-align of justify only needs to be in <body>.

Also, when you look at the CSS of most retail eBooks, you can have many CSS classes that do not do anything. That is code bloat.
JSWolf is online now   Reply With Quote