title: Sharepoint 2010 listview row color change
body: <p>After creating a listview from VS2010 and adding it as a web part to sharepoint 2010, the rows have an alternating color which i do not want but cannot seem to change. I have tried putting in conditional formatting for columns and rows as well but it does not work! </p>
  
  <p>I have tried changing the style in the .ascx file as well to :</p>
  
  <pre><code>&lt;style type="text/css"&gt;
  .style1
  {
      width: 159px;
      height: 53px;
      background-color: White;
      text-align:left;
  }
  &lt;/style&gt;
  &lt;img alt="" class="style1" 
  
  &lt;SharePoint:ListViewByQuery runat="server" ID="ProjectsListView" class ="style1" /&gt;
  </code></pre>
  
  <p>but nothing seems to work! Does anyone have a solution for this? thank you!</p>