title: rails view link_to
body: <p>Thanks for your time!</p>
  
  <p>I had a code :</p>
  
  <pre><code>&lt;link href="/stylesheets/show.css" media="screen" rel="stylesheet" type="text/css"&gt;
  
  &lt;div id="body-container"&gt;
          &lt;div id="left-column"&gt;
                  &lt;ul id="report-list"&gt;
                          &lt;% for report in @reports %&gt;
                              &lt;li&gt;&lt;%= link_to( report, {:controller =&gt; 'loadreport',
                                                        :action =&gt; 'get_report_content',
                                                        :test_name =&gt; report} )%&gt;&lt;/li&gt;
                          &lt;% end %&gt;
                  &lt;/ul&gt;
          &lt;/div&gt;
          &lt;div id="right-column"&gt;
  
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>The <code>link_to</code> method will generate html tags like this :</p>
  
  <pre><code>&lt;a href="/loadreport/get_report_content?name=Test1"&gt;Test1&lt;/a&gt;
  </code></pre>
  
  <p>I want to make some decoration on <code>tag a</code>. So in CSS file, I got this codes :</p>
  
  <pre><code>a:link { text-decoration: none;}
  
  a:hover {text-decoration-color: #adff2f;}
  </code></pre>
  
  <p>It failed to add these decorations to <code>tag a</code>. I think it because <code>tag a</code> is generated by rails <code>link_to</code> method. We don't have <code>tag a</code> ahead of time. Am I right? Then how can I achieve this?</p>