better table translation, some way to go though
width and height received by parameter and different elements rendered proportionally