title: Background with 2 colors in JavaFX?
body: <p>In JavaFX 2, using CSS, is it possible to create a background with 2 colors? Think of e.g. a <code>TableCell</code> with a height of 10 px. I want to the first 2 px (vertically) to be red, the remaining 8 px (vertically) shall stay at the default background color. Is that possible using CSS in JavaFX 2? How? </p>
  
  <p><strong>Example:</strong></p>
  
  <p>Original background:</p>
  
  <p><img src="https://i.stack.imgur.com/7fXS7.png" alt="enter image description here"></p>
  
  <p>Desired result:</p>
  
  <p><img src="https://i.stack.imgur.com/7Jb4r.png" alt="enter image description here"> (the upper 2 pixels were replaced by red)</p>
  
  <p>Thanks for any hint on this!</p>