Re: [css-d] sizing input elements

2011-04-10 Thread Bruno Souza
Or, you could try something like this: input[type=text]{width:100%} Using this rule, you can have other types of input that won't be affected by this rule. This only works for Bruno Souza Front-end engineer www.caju.nu www.brunomacaco.com.br On Fri, Apr 8, 2011 at 16:17, Alan Gresley wrote

Re: [css-d] sizing input elements

2011-04-08 Thread Alan Gresley
On 9/04/2011 5:03 AM, Brendan Miller wrote: I have an input element inside a form. The only way I have been able to figure out how to size it is with the html size attribute. Is there a way to size input elements with css? It seemed like when I tried setting the width attribute on input, it didn'

[css-d] sizing input elements

2011-04-08 Thread Brendan Miller
I have an input element inside a form. The only way I have been able to figure out how to size it is with the html size attribute. Is there a way to size input elements with css? It seemed like when I tried setting the width attribute on input, it didn't have an effect. I have the form and input i