Thursday, October 30, 2008
New CSS Rules for APA Added to Template
The following new CSS rules were added to the template .css file today. These are useful for APA-style oredered or unordered references or bibliographies:
/*APA Bibliography*/
.apa_bib {
list-style: none;
margin: .75em 0;
padding: 0;
}
.apa_bib li { margin: .5em 0; padding: 0 0 0 3em; text-indent: -3em; }
.apa_bib article { font-style: normal; }
.apa_bib journal { font-style: italic; }
.apa_bib book { text-transform: underline; font-style: normal; }
Note that it's debatable whether italic or underline is better online for book titles.
At any rate, the XHTML should look something like this:
<ul class="apa_bib">
<li>Harrison, P. A., & Asche, S. E. (1999). <cite class="article">Comparison of Substance Abuse Treatment Outcomes for Inpatients and Outpatients</cite>. <cite class="journal">Journal of Substance Abuse Treatment</cite>, 17, 207-220.</li>
<li>Sayre, S. L., Schmitz, J. M., Stotts, A. L., Averill, P. M., Rhoades, H. M., & Grabowski, J. J. (2002). <cite class="article">Determining predictors in attrition in an outpatient substance abuse program</cite>. <cite class="journal">American Journal of Drug and Alcohol Abuse</cite>, 28(1), 55-72.</li>
<li>Weisner, C., Matzger, H., Tam, T., & Schmidt, L. (2002). <cite class="article">Who goes to alcohol and drug treatment? Understanding utilization within the context of insurance</cite>. <cite class="journal">Journal of Studies on Alcohol</cite>, 63, 673-682.</li>
</ul>
/*APA Bibliography*/
.apa_bib {
list-style: none;
margin: .75em 0;
padding: 0;
}
.apa_bib li { margin: .5em 0; padding: 0 0 0 3em; text-indent: -3em; }
.apa_bib article { font-style: normal; }
.apa_bib journal { font-style: italic; }
.apa_bib book { text-transform: underline; font-style: normal; }
Note that it's debatable whether italic or underline is better online for book titles.
At any rate, the XHTML should look something like this:
<ul class="apa_bib">
<li>Harrison, P. A., & Asche, S. E. (1999). <cite class="article">Comparison of Substance Abuse Treatment Outcomes for Inpatients and Outpatients</cite>. <cite class="journal">Journal of Substance Abuse Treatment</cite>, 17, 207-220.</li>
<li>Sayre, S. L., Schmitz, J. M., Stotts, A. L., Averill, P. M., Rhoades, H. M., & Grabowski, J. J. (2002). <cite class="article">Determining predictors in attrition in an outpatient substance abuse program</cite>. <cite class="journal">American Journal of Drug and Alcohol Abuse</cite>, 28(1), 55-72.</li>
<li>Weisner, C., Matzger, H., Tam, T., & Schmidt, L. (2002). <cite class="article">Who goes to alcohol and drug treatment? Understanding utilization within the context of insurance</cite>. <cite class="journal">Journal of Studies on Alcohol</cite>, 63, 673-682.</li>
</ul>
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment