myeclipse用css的方法:首先点击“file-new-other”;然后找到web project点击next;接着在弹出框中输入“project name”直接点击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 href="css/main.css" rel="stylesheet" type="text/css" />
或者可以这样写
<link rel="stylesheet" type="text/css" href="<%=request.getContextPath()%>/css/main.css">
也就是说,<%=request.getContextPath()%>/ 永远代表目录的根,其他的就写一层层的文件夹名就好 了
以上就是myeclipse怎么用css的详细内容,更多请关注php中文网其它相关文章!
每个人都需要一台速度更快、更稳定的 PC。随着时间的推移,垃圾文件、旧注册表数据和不必要的后台进程会占用资源并降低性能。幸运的是,许多工具可以让 Windows 保持平稳运行。
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号