title: How can I remove borders from ListView (or TableView)?
body: <p>The problem is in grey line at borders of ListView. I had set border-color transparent, but it does not work. If I set border-color black it just paints on the top of grey line. </p>
  
  <p><a href="https://i.stack.imgur.com/zQVNL.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/zQVNL.png" alt="enter image description here"></a></p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>.root {
      -fx-focus-color: transparent;
      -fx-faint-focus-color: transparent;
  }
  
  #wordsList {        
      -fx-border-color: transparent;
  }</code></pre>
  </div>
  </div>
  </p>
  
  <p>Here is my FXML code</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;?import javafx.scene.control.*?&gt;
  &lt;?import h.*?&gt;
  &lt;?import javafx.scene.layout.*?&gt;
  
  &lt;Tab xmlns="http://javafx.com/javafx"
       xmlns:fx="http://javafx.com/fxml" closable="false"&gt;
      &lt;text&gt;&lt;Constants fx:constant="SECOND_TAB_NAME"/&gt;&lt;/text&gt;
      &lt;HBox&gt;
          &lt;ListView fx:id="wordsList" prefWidth="250"&gt;        
          &lt;/ListView&gt;
      &lt;/HBox&gt;
  &lt;/Tab&gt;</code></pre>
  </div>
  </div>
  </p>