liam1412 Posted January 16, 2007 Share Posted January 16, 2007 Hi People.here is my CSS code for my input and text area tags. Can anyone tell me how I can define the width of the input and the width and height of the text area.[code]textarea {font-family:"trebuchet ms";font-size:12px;background-color:"#b5b5b5";} input {font-family:"trebuchet ms";font-size:12px;background-color:"#b5b5b5";}[/code]Thanks Quote Link to comment https://forums.phpfreaks.com/topic/34363-defining-the-size-of-input-typetext-and-text-are-with-css/ Share on other sites More sharing options...
Daniel0 Posted January 16, 2007 Share Posted January 16, 2007 [code]width: 100px;width: 20px;[/code] Quote Link to comment https://forums.phpfreaks.com/topic/34363-defining-the-size-of-input-typetext-and-text-are-with-css/#findComment-162076 Share on other sites More sharing options...
liam1412 Posted January 16, 2007 Author Share Posted January 16, 2007 Didn't think it woudl be that simple. Thout youwould have to define columns and rows as you do when formatting them inline. Quote Link to comment https://forums.phpfreaks.com/topic/34363-defining-the-size-of-input-typetext-and-text-are-with-css/#findComment-162078 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.