Forum Moderators: not2easy
p{ margin: 0 0 1.2em 0; line-height: 120% }
The intent was to make spacing the same on all browsers. This works great in article-style copy, but on many other pages where the <p> tag was being used, it has created some problems.
Is my style sheet declaration a step forward or is it asking for trouble? Should I assume any places where existing <p> tags are now exhibiting unwanted spacing should be addressed differently?
Is this a stupid question? :)
<div id="header"><h1>Title</h1>
</div>
<div id="content">
<p>First paragraph</p>
<p>Second paragraph</p>
</div>
<div id="footer">
<p>Colophon</p>
<p>Disclaimer</p>
</div>
It would be trivial to style the paragraphs in the main body different from those in the footer, e.g.
#content p {line-height: 1.2; text-indent: 1.5em; margin: 0 0 1.2em}
#footer p {font-size:0.75em; margin: 0.5em 3em}