Short answer is its done with images Every 10 pixels or so a small line - image is shown, and then if text is there another - is shown, and then images go down the "cell" | in the same fashion. Each border side is kept in its own cell so you have cells becoming borders if that makes sense