Quote:
real trouble while using a very primitive CSS in viewer
|
Yes, that looks like a very odd outcome, however it is not the result of your CSS by itself. Except for the use of the dangerous !important statement (which I assume you inserted for testing purposes), I test the CSS with no problems. Perhaps something in the structural HTML?
You mention "viewer." Are you referring to the latest Calibre viewer, or a previous version or another reading device? The screenshot actually looks much like the result I get when I insert large negative margins attached to the HTML root tag and view in the Calibre viewer. Calibre gags but the negative margins are meant for ultimate viewing in the Kindle Paperwhite so it is not really a problem.