Quote:
Originally Posted by DNSB
I grabbed the sample of The Standoff by Scott Blade from Amazon and looked at it's code. Perhaps you should have included the p entry between the @fontface and p.subsq entries? I'm still curious as how that gives you indents on every paragraph? While the margin-top in the subsequent paragraphs style would give a space between paragraphs since there is no text indent specified, I can't see your indent and paragraph space complaint. While I prefer an indent and no space, space and no indent is a valid choice. As for removing unused or undefined code, Delete unused stylesheet selectors and cssUndefinedClasses do a decent job of cleanup.
Spoiler:
Code:
p {
margin-bottom: 0px;
text-indent: 0px;
margin-top: 0px;
text-align: justify;
}
The code I replace the body, p and p.subsq with is below:
Code:
body {
display: block;
font-size: 1em;
margin: 0 0 0 0;
padding: 0 0 0 0;
text-indent: 0;
widows: 1;
orphans: 1;
}
p {
margin: 0 0 0 0;
padding: 0.1em 0 0 0;
margin-block-end: 0em;
}
p.subsq {
text-indent: 1.25em;
}
I must thank you for bring yet another variant of Vellum stylesheets to my attention.
Edit: And just perhaps if we wish to continue this discussion, it should be moved to a new thread in a more relevant forum.
|
The original code is as you say. But I've edited it to put in indents and remove paragraph spaces.