Not sure that I follow you. Whatever!
You control what happens when your data is too big to fit in the area allocated with the 'overflow' property in CSS. CSS Positioning overflow example .
PS this is an html/css question and properly belongs in an html forum - not here in php heaven.