[thelist] new to css. need help with forms

Paul Bennett paul at teltest.com
Tue Nov 4 19:48:59 CST 2003


Ken Wan wrote:

>...
>
>When I try to create a class to apply to the form, it completely buggers it
>up, clipping the field/button without repositioning the text. In addition,
>the field and the button are not the same height.
>
>Any suggestions/ideas?...
>
you can acess the style properties of form components directly:
eg:

input
    {
    height: 20px;
    width: 100px;
    border: solid 1px #000;
    }

etc.

by giving id's / classes to your form components (selects, radois, 
inputs etc) you can style input type="text" differently from input 
type="submit" for example

Does that help?

-- 
 ------------------------------
	Paul Bennett						
	Internet Developer				
	Teltest Electronic Design		
 ------------------------------			
Email: paul at teltest.com				
Phone: 64 4 237 4557					
Web: http://www.teltest.com		
Wap: http://wap.teltest.com			




More information about the thelist mailing list