How to make Javascript more specific?
<p>I am new at JavaScript so I think my problem may be simple.
This works:</p>

<pre><code>var convId = document.getElementById("wrapper");
convId.setAttribute("align","right");
</code></pre>

<p>But when I try to make it more specific:</p>

<pre><code>var convId = document.getElementById("wrapper");
var convIdDl = convId.getElementsByTagName("dl");
convIdDl.setAttribute("align","right");
</code></pre>

<p>my definition list doesn't align to the right.
I have checked the HTML and CSS and everything is correct, but that shouldn't even matter
JavaScript overwrites them both.</p>
