Thread: CSS Question
View Single Post
Old 11-12-2020, 05:07 PM   #45
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 deback View Post
When I referred to "default," I meant, for example, if the rule "text-indent: 0;" is not included in a class, then the default for the text-indent for that class is zero. It's the same with margins and many other rules, when they aren't included in a class.
But as thiago.eec pointed out they're often inheriting a value from somewhere above. Ereaders and ereader software typically have some built in css that you may not be aware of; for example, a space between paragraphs (margin-top perhaps). So just deleting the css that you think is unneeded may not work; if you want it to be zero you may need to set it to zero.
hobnail is offline   Reply With Quote