Take the 2-minute tour ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

I am working on a website which is using Skin templates everywhere in the page. Because of this all the controls, even labels, are server controls. I was wondering if it is worth changing at least labels to HTML controls and create CSS for them. Is there any advantage of using Skin over CSS?

share|improve this question

migrated from codereview.stackexchange.com Feb 21 '12 at 21:27

This question came from our site for peer programmer code reviews.

add comment

1 Answer

I would stick with all CSS or all theme/skins. The reason is that when they are used together it's ambiguous which is actually going to be displayed to the user if both attempt to modify the same things. Also adding another language to work with for no real reason is a bad idea, it's unneeded complexity. There is not going to be any significant difference in performance between having HTML controls or server controls for labels, and there is no difference between having CSS that works or themes/skins that work.

remember KISS(keep it simple stupid) and "if it aint broke don't fix it", you are attempting to violate both.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.