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的详细内容,更多请关注模板之家(www.mb5.com.cn)其它相关文章! |