A div tag is a block element, thus it goes to the next line (as you are seeing). Try using span tags instead of the div tags and see if that works.
As for the second one, your javascript is running on the div element "postmenu_$post[postid]". So, if you click anywhere inside that div element, you are running the javascript "vbmenu_register("postmenu_$post[postid]", true)"
|