asp.net mvc 3 - How to apply External CSS to Html Helper Class Elements? -
i using dropdownlist(), textarea(), textbox(), listbox() in aspx page. want apply external css not inline css. , don't want apply using id/class. how apply external css html helper class element name?
controls added using html helper class converts controls them simple html elements/controls.
if adding html.dropdownlist()
converted <select/>
@ last.
so apply css on <select/>
.
and future view pagesource browser , come know in tag control getting converted , can write css tags...
Comments
Post a Comment