Thursday 19 May 2011

Style textboxes with css

I have recently had an issue with applying a css class to a text box as it was continually being ignored.

After about 2 hours of searching I found out it was being overridden because a skin file was changing the css class.

Long story short, If you want to apply custom classes to the same type of control, don't use a skin file. I removed the skin file, never to be used again, and replaced with the following css:

No comments:

Post a Comment