tags:

views:

38

answers:

2

For example I have limited space and I want the submit button to appear in the bottom right of the text area. Something like this?:

<textarea value='text message' name='messageSMS' id='messageSMS' onfocus='clearInput(this)' onblur='clearInput(this)'>
<input value='send' id='sendSMS' type='submit' name='submit' />
</textarea>
+1  A: 

You can use CSS positioning.

Maciej Piechotka
+2  A: 

No.

Instead, you could use CSS to move it over the textbox.

For example: (Tested in Firefox on Windows 7; DEMO)

#sendSMS{
    width: 40px;
    position: relative;
    left:-47px;
    top: -7px;
}

You might want to make the button cover the entire height of the textbox.

SLaks
yea that is what I was thinking initially. But as Pointy mentioned I don't want people typing underneath it.I'm just trying to find the most convinient space saving options for a small SMS sending box, any other ideas very welcome.
kalpaitch