Page 1 of 1

Make an input box the width of the page?

Posted: Sat Mar 15, 2008 11:57 pm
by toasty2
Is it possible to make an input box that will span the width of the page (or a div containing it)?

Re: Make an input box the width of the page?

Posted: Sun Mar 16, 2008 7:25 am
by matthijs
Yes.

Code: Select all

 
input { width:100%; }
 

Re: Make an input box the width of the page?

Posted: Sun Mar 16, 2008 4:58 pm
by toasty2
matthijs wrote:Yes.

Code: Select all

 
input { width:100%; }
 
Duh. :D