code: protected void loadBorders(CSSDecoder dec, int contw)
      {
          border = new LengthSet();
          if (borderVisible("top"))
              border.top = getBorderWidth(dec, "border-top-width");
          else
              border.top = 0;
          if (borderVisible("right"))
              border.right = getBorderWidth(dec, "border-right-width");
          else
              border.right = 0;
          if (borderVisible("bottom"))
              border.bottom = getBorderWidth(dec, "border-bottom-width");
          else
              border.bottom = 0;
          if (borderVisible("left"))
              border.left = getBorderWidth(dec, "border-left-width");
          else
              border.left = 0;
      }
docs: Loads the border sizes from the style.
  
  @param dec CSS decoder used for decoding the style
  @param contw containing block width for decoding percentages