title: html:Is there a way to include scrollbar for html code
body: <p>I have to include a scrollbar for my html code below.Code goes like-->  </p>
  
  <pre><code> &lt;html&gt;
     &lt;head&gt;&lt;/head&gt;
        &lt;body&gt;
  &lt;div style="overflow:scroll;height:100px;scrollbar-shadow-color: #2D2C4D;scrollbar-highlight-color:#7D7E94;scrollbar-face-color: #000000;scrollbar-3dlight-color:#7D7E94;"&gt;
           &lt;table width="100%" style="border-collapse:collapse;overflow:scroll;height:10px"&gt;
      &lt;tr&gt;
           &lt;% dim CountFlg
                  CountFlg = 0
                  for i=0 to XmlNodes.length-1
                      if CountFlg &lt;= 2 then %&gt;
                          &lt;td&gt;
                              &lt;b&gt;&lt;%=XmlNodes.item(i).getAttribute("xx")%&gt;&lt;/b&gt;                                
                          &lt;/td&gt;
                          &lt;TD&gt;
                              &lt;input class="TextArea" name="&lt;% xx % &gt;" id="&lt;% xx %&gt;" style="height:35px;overflow:auto;padding-left:80px;" rows="5"cols="10"&gt; &lt;/input&gt;
                          &lt;/TD&gt;
                          &lt;% CountFlg=CountFlg+1
                      end if
                  next%&gt;
              &lt;/tr&gt;
             &lt;/table&gt;
            &lt;/div&gt;
           &lt;/body&gt;
          &lt;/html&gt;
  </code></pre>
  
  <p>Since I have a for loop here I don't know how many  tags I'll get.So I thought of putting a scrollbar for my  tag.How to do this?Is there a way I can put if conition for div tag here,like if XmlNodes.length>8 then include div tag else no need of div tag.How to do this.?</p>