The page has the following CSS:
input[type=text]
{
display: inline; padding: 7px; background-color: #f6f6f6; font-size: 12px; letter-spacing: 1px; border
Is there a certain way to do this
There is no way to stop rules applying to an element if the selector matches.
You can either
!important
other than getting the list of all computed styles and setting them empty?
That wouldn't work. Most properties won't accept a blank value, so the rule would be invalid and ignored (thus causing the previous rule to apply again).
As you can see at this link: http://www.w3.org/TR/CSS2/cascade.html#specificity, all selectors has specificity value. So, if you write such css rule: #txt1 {}
, you can reset all unnecessary values.