开发者

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜