Custom widget - how to open small window on the click

Is there any list of the possible functions ?
I think text-align: center isn’t right instruction
How to use a left and top instructions ?

Anything under the style heading is just css. See here for a quick overview and links to css resources: