Advanced loading errors

When i load the spreadsheet the basic and normal way and set it to parent div “gridobj” it loads perfect however when i try to load it using the advanced method it takers over the div and spills over regardless of the height and width of the div.

Any ideas how i can load this using advanced method without it going outside its parent div?

answered here: