Went back to using tables. It can draw the picross puzzle grid. Still need to fill in the hints and do the css for printing.