The main difference between themes/skins and CSS are the HTML & Server Side Controls (SSC) only. We use skin files to format & cosmetics SSC which are not in HTML like <asp:Label>
, <asp:TextBox>
& </asp:RadioButtonList>
etc...
But what if we use the rendered HTML SSC in CSS instead skin files to handle <asp:Label>
& <asp:TextBox>
etc...
ie: when SSC <asp:TextBox>
rendered on browsers it shows <input type="text">
so if we write following style in my CSS file instead Skin, it also works...
input[type=text], textarea, select {
outline: none;
padding: 3px 0px 3px 3px;
margin: 5px 1px 3px 0px;
border: 1px solid #cccccc;
background: #ffffff;
width: 150px;
color: #484848;
font-size:
12px;
}
So my question is, if we still can handle SSC with CSS do we really need skins? Or if I am missing anything please correct me, thanks.