private static int positionHorizontally(LayoutContext c, Box current, int start) {
public static int positionHorizontally(CssContext c, Box current, int start) {
    private static int positionHorizontally(LayoutContext c, Box current, int start) {        int x = start;        InlineBox currentIB = null;        if (current instanceof InlineBox) {            currentIB = (InlineBox) currentIB;            x += currentIB.getLeftMarginBorderPadding(c);        }        for (int i = 0; i < current.getChildCount(); i++) {            Box b = current.getChild(i);            if (b instanceof InlineBox) {                InlineBox iB = (InlineBox) current.getChild(i);                iB.x = x;                x += positionHorizontally(c, iB, x);            } else {                b.x = x;                x += b.getWidth();            }        }        if (currentIB != null) {            x += currentIB.getRightMarginPaddingBorder(c);            currentIB.setInlineWidth(x - start);        }        return x - start;    }