Server control to add css file using application root sign ~ (tilde)
Is 开发者_运维百科there any server control that allows me to add a css file to my asp.NET page using the application root sign: ~
?
Make it runat=server
:
<link runat="server" rel="stylesheet" type="text/css" href="~/styles/MyCssFile.css" />
精彩评论