Adding int convertion for tiling parameters + adding css for correct page printing