The text object isn't floating above the canvas in C2 or C3 - it renders like a sprite. TextBox (the text input control) is a form control so does float above the canvas.
The text object also renders in the canvas so is not a DOM element and therefore cannot be styled with CSS, in the same way you can't style a sprite with CSS.