myeclipse用css的方法:首先点击“file-new-other”;然后找到web PR oject点击next;接着在弹出框中输入“project n am e”直接点击finish;最后在新建的jsp页面中的head中间加入代码即可。
本教程操作环境:Windows7系统、Dell G3 电 脑、CSS3版。
myeclipse怎么用css?
在Myeclipse的jsp页面里 正常 把css3导入进来就可以,Myeclipse只是个 开发工具 ,在Myeclipse里新建jsp页面步骤:
1、点击file - new - other
2、找到web project 点击next
3、在弹出框中输入project name 直接点击finish
4、在新建的jsp页面中的head中间加入代码
(相关课程推荐:css视频教程)
<link hr ef="css/m ai n.css" rel="stylesheet" ty PE ="text/css" />
或者 可以这样写
<link rel="stylesheet" type="text/css" href="<%=request.getContextPath()%>/css/main.css">
也就是说,<%=request.getContextPath()%>/ 永远 代表目录的根,其他的就写一层层的文件夹名就好 了
以上就是myeclipse怎么用css的详细内容,更多请关注其它相关 文章 !
总结
以上是 为你收集整理的 myeclipse怎么用css 全部内容,希望文章能够帮你解决 myeclipse怎么用css 所遇到的问题。
如果觉得 网站内容还不错, 推荐好友。
声明:本文来自网络,不代表【好得很程序员自学网】立场,转载请注明出处:http://www.haodehen.cn/did199353