Question

What are some pros/cons in using CSS as part of a theme instead of manually supplying <link> tag in the <head> section of a web page?

Was it helpful?

Solution

In ASP.NET, using a theme makes it easier to integrate your CSS styles with the Localization, Accessibility, and Navigation features of that development platform.

Using your own manual CSS file (referenced from the HTML with a <style> or <link> tag) means that you have to maintain the file yourself, potentially including any browser-specific CSS code. However, going this route will probably afford you a higher degree of portability if, for instance, you decided to switch to another platform (eg. LAMP).

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top