SourceC
SourceC

Reputation: 3929

Pros and cons of having CSS as part of a theme

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?

Upvotes: 0

Views: 280

Answers (1)

system PAUSE
system PAUSE

Reputation: 38530

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).

Upvotes: 1

Related Questions