Adjust Text Input and Textarea Fonts

I had my text inputs and textareas showing different text font though they were essentially using same styles like:

input, textarea{ // some styles};

The problem was the font styling was not included in the above css but was defined in body. I added this and it the textarea fonts started showing similar to other text inputs.

.mytextarea{ font-family:inherit;}

 Hope this helps.

References:

Setting Textarea font to match rest text inputs

Published Thursday, August 04, 2011 6:33 PM by guru_sarkar

Comments

No Comments

Leave a Comment

(required) 
(required) 
(optional)
(required)