Try using your Graph test 1 format with the following CSS:
#select2 {
position:absolute;
top:250px;
left:0px;
z-index: 9;
width: 100%;
text-align: center;
}
This keeps the code outside the canvas box while positioning it in the right place.