Style an HTML form input with CSS and jQuery. It’s possible with CSS to style a particular form input type without having to assign a class to each one with the special style. For example you may want to add a margin before radio buttons in a form but not all the other input elements.

7688

In last post, I had explained how to select multiple element in single statement using jQuery. In this post, I will show you how can you set multiple CSS styles to any selector/element in single statement. Let's say you have a div tag and you want to set its background color to yellow, forecolor to red, font family to arial and font size to 18pt.

inArray(a.jquery?a[0]:a,this)},add:function(a,b){var c=typeof a==="string"?d(a