Popup size not the same in designer VS web browser

Check that manual page again, note the dictionary:

position

keys are: left, top, right, bottom, width, height.

I'd recommend starting by setting all of those to 100, to determine how they function, and from there it should be more clear how to proceed.