How to place textbox and label side-by-side + adding some values

Simple question for newbie like me :

label is always, by default, placed over textbox.

  1. how to place label side-by-side with the textbox ?

  2. how do I add one table value (table A, field1 : value=10) and another table(table B, field2 : value=20). Do i have to do it within the controller or elsewhere ?

that’s all for newbie questions :) hope for community’s help

anyone, please help. this is simple, but i cannot find it.

  1. You need to change form.css ("display: inline" instead of "display: block").

  2. I didn’t get this question. Maybe it’s just me :)

You bring my day andy :)

thank you