Quote:
Originally Posted by mrmikel
I have some question whether this sort of construction is wise, whether it is permitted or not.
|
I would reduce it to:
Code:
p { margin: 0; text-indent: 1.5em; text-align: justify; }
h1 + p { text-indent: 0; }
- For goodness' sake, do not force a base font.
- I'm sure you want justification in the first paragraph too.
- No need to set margin-top again, when the margin was already set before.
- Rather than having a special selector for when you want indents, have one for when you don't want them (h1+p, as an example). With p+p you don't get indents in a <p> after a <div class="illustration">.
Ideally, you wouldn't even specify margins or text-align (maybe not even text-indent:1.5em), that should be set by the reader.