So i am working on an App and in menu bar, I would like to give Menu elements some cool looking separators. So I found a way that seems to work with HTML:
.menu
{
border-right: 2px dotted #666666;
}
so I just put "-fx-", before "border-right..." and that didn't work. After some more reaserch I found that I should separate width, style and colour, so it should look like this:
.menu
{
-fx-border-right-width: 2px;
-fx-border-right-style: dotted;
-fx-border-right-color: #666666;
}
But again it fails to work. So is there a way to do it with border-right property of menu, or should I look for another way of doing this?
