digitility
asked on
CSS TextArea Formatting Using Input
I'm using the following CSS to round the corners on my text boxes over the whole site.
input { border:1px solid; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; }
This works great on most browsers, but it doesn't effect the textarea boxes. Is there a way to modify the formatting for the textarea boxes without having to edit each individual entry?
In other words, is there a way to modify the input commmand above to globally format the textarea as well as the text boxes?
Thanks!
input { border:1px solid; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; }
This works great on most browsers, but it doesn't effect the textarea boxes. Is there a way to modify the formatting for the textarea boxes without having to edit each individual entry?
In other words, is there a way to modify the input commmand above to globally format the textarea as well as the text boxes?
Thanks!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Awesome, works great. Thanks.
Open in new window
Open in new window
When you create CSS styles like this, they become very easy to re-use and allow you to re-use CSS code across projects .. like a toolkit :)