2
A
回答
1
主題與層疊樣式表
主題類似於在級聯樣式表兩個主題和樣式表定義了一組可以應用到任何網頁常用屬性。然而,主題從樣式表不同,在以下幾個方面:
* Themes can define many properties of a control or page, not just style properties. For example, using themes, you can specify the graphics for a TreeView control, the template layout of a GridView control, and so on.
* Themes can include graphics.
* Themes do not cascade the way style sheets do. By default, any property values defined in a theme referenced by a page's Theme property override the property values declaratively set on a control, unless you explicitly apply the theme using the StyleSheetTheme property. For more information, see the Theme Settings Precedence section above.
* Only one theme can be applied to each page. You cannot apply multiple themes to a page, unlike style sheets where multiple style sheets can be applied.
0
ASP.NET控件可以使用皮膚文件設置屬性。例如,您可以定義一個網站上的每個按鈕需要以下屬性:
<asp:Button runat="server"
BackColor="Red"
ForeColor="White"
Font-Name="Arial"
Font-Size="9px" />
這是概括的造型爲你的網站,但沒有什麼不能單獨使用CSS來完成一個方式。
0
關於你的問題,如果你需要的是什麼造型,那麼我會建議CSS的方式,特別是因爲的性能優勢,因爲它可以被緩存,並且不會在服務器中造成任何開銷。
相關問題
- 1. ASP.NET會員優勢
- 2. ASP.net CORE優於Asp.net的主要優勢
- 3. 優勢在Perl
- 4. 優勢
- 5. 優勢
- 6. 優勢
- 7. 優勢
- 8. ASP.NET 3.5 Extensions Preview 2有什麼優勢?
- 9. PHP對ASP.NET有什麼優勢?
- 10. 什麼是asp.net mvc的優勢?
- 11. ASP.NET Webforms的主要優勢是什麼?
- 12. 優勢表
- 13. 優勢5400 AE_INTERNAL_ERROR
- 14. MVC優勢
- 15. 優勢Activator.CreateInstance的
- 16. 優勢控制
- 17. 優勢OOP
- 18. BTREE的優勢?
- 19. MySQLi優於MySQL的優勢
- 20. MVP在android的優勢
- 21. 優勢B樹+的
- 22. 關於SaaS優勢
- 23. Jquery Templates的優勢
- 24. 優勢8.1和7.1
- 25. 優勢相比WEBGET
- 26. 優勢DB同步
- 27. jQuery推遲優勢?
- 28. nuSOAP WebService的優勢?
- 29. 優勢VS ReSharper的
- 30. 優勢錯誤6082
這與我的回答有何不同?同一鏈接.. – Kaf 2012-03-22 11:40:35
@Kaf:對不起。我沒有檢查你的鏈接。 – 2012-03-22 12:15:20