myeclipse怎么用css

myeclipse怎么用css,第1张

myeclipse怎么用css

myeclipse用css的方法:首先点击“file-new-other”;然后找到web project点击next;接着在d出框中输入“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、在d出框中输入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的详细内容,

欢迎分享,转载请注明来源:内存溢出

原文地址: https://outofmemory.cn/web/690629.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-04-21
下一篇 2022-04-21

发表评论

登录后才能评论

评论列表(0条)

保存