Best Practices: CSS or Themes in ASP.NET?

后端 未结 7 880
迷失自我
迷失自我 2021-02-13 07:03

When should I use ASP.NET Themes, and when should I use CSS? What are the advantages or disadvantages of using one over the other?

7条回答
  •  北恋
    北恋 (楼主)
    2021-02-13 07:19

    I would recommend using CSS over Themes. The reason for this is in CSS you can modify your styles to they work with all browsers. You can do the same thing with themes but Microsoft's designer is notorious for fixing the things that you fixed to make them work on all browsers so its counter productive. Stick to CSS you will spend less time mucking about.

提交回复
热议问题