开发者

Server control to add css file using application root sign ~ (tilde)

开发者 https://www.devze.com 2023-03-10 20:35 出处:网络
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:

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" />
0

精彩评论

暂无评论...
验证码 换一张
取 消