Quote:
Originally Posted by Slevin#7
So you mean I shouldn't even provide some default values for margin and line-spacing, although the user can override them manually?
|
Exactly. But not "although" but "even if". A plain:
Code:
<body>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim
veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea
commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit
esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat
non proident, sunt in culpa qui officia deserunt mollit anim id est
laborum.</p>
</body>
Will display with
some line spacing, font size and margin (possibly 0), will it not? Then let the user decide what that should be and don't change it yourself.
Quote:
And justification as a default value could be overridden as well, at least all the readers I've tested so far are capable of.
|
That depends on the reader and how you specify it. And overriding styles (as opposed to setting a default) is more likely to break something else. How is the reader (software) supposed to know which properties/styles should be overridden and which not? It can only "guess", and guesses will fail sometimes.
PS. I'm guilty myself of specifying "p { margin:0; text-indent: Xem; }", but that's mostly so I can get something readable in a browser.