日期:2014-05-18  浏览次数:20465 次

简单问题:aspx文件怎么引用.CSS文件的?
如题

------解决方案--------------------
HTML 怎么引用 ASPX 照旧阿

------解决方案--------------------
<LINK href= "../Styles/Default.CSS " type= "text/css " rel= "stylesheet ">
------解决方案--------------------
<LINK href= "../css/web.css " type= "text/css " rel= "stylesheet ">
------解决方案--------------------
同普通 html 无两样
------解决方案--------------------
<LINK href= "../Styles/Default.CSS " type= "text/css " rel= "stylesheet ">

------解决方案--------------------
可以建个html文件,例如header.htm
里面写上 <LINK href= ".../css/css.css " type= "text/css " rel= "stylesheet ">
也可以写其他要链接的javascript,例如 <script language= "JavaScript " src= "javascript/common.js "> </script>
然后在要用这些css、js的aspx页面写上 <!-- #include file= "header.htm " -->
------解决方案--------------------
<LINK href= "css.CSS " type= "text/css " rel= "stylesheet ">

我来接分了

------解决方案--------------------
<LINK href= "../Styles/CSS.CSS " type= "text/css " rel= "stylesheet ">
接分
------解决方案--------------------


无差别的。