老师,这个说是找不到文件夹,我完全照着老师来的啊
.nav{ background-color: #f1f1f1; height: 30px; } .warp{ width: 1100px; margin: 0px auto; } .nav_ul1{ float: left; line-height: 30px; } .nav_ul1 li,.nav_ul2 li{ float: left; margin-left: 15px; } .nav_ul1 a,.nav_ul2 a,.nav_ul2 span{ font-size: 12px; color: gray; } .nav_ul2 li{ line-height: 30px; margin-right: 10px; } .nav_ul2{ float: right; line-height: 30px; } .nav a:hover{ color: red; } /*搜索开始*/ .search{ margin-top: 20px; } .serach img{ /*清除之前所有的样式*/ clear: both; float: left; } .search_div{ float: right; margin-top: 20px; } .search_txt{ width: 265px; height: 21px; border: 3px solid #c91623; position: relative; left: 4px; top: -1px; } .search_btn{ width: 51px; height: 29px; background-color: #c91623; border: 0px; color: #FFFFFF; } /*搜索结束*/
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>横向布局的导航栏</title> </head> <!--<style> ul{list-style: none;padding: 0;margin: 0;} ul li{display:inline-block; width:100px; height:100px;line-height:30px;text-align:center; background-color:skyblue;} li a{text-decoration: none;color: white;} li:hover{background-color: red;} li:hover a{color: greenyellow;} </style>--> <style> li:hover{background-color: red} li:hover a{color: greenyellow} </style> <body> <!-- <ul> <li><a href="#">首页</a></li> <li><a href="#">军事</a></li> <li><a href="#">新闻</a></li> <li><a href="#">娱乐</a></li> </ul>--> <script> var arr=['首页','军事','娱乐','新闻',]; //创建ul标签 var ul=document.createElement('ul'); var ul_style=document.createAttribute('style'); ul_style.value='list-style: none;padding: 0;margin: 0;'; ul.setAttributeNode(ul_style); //创建li标签 for(var i=0;i<4;i++){ var li=document.createElement('li'); var li_style=document.createAttribute('style'); li_style.value='display:inline-block; width:100px; height:100px;line-height:30px;text-align:center;/ background-color:skyblue;'; li.setAttributeNode(li_style); ul.appendChild(li); //创建a标签 var a=document.createElement('a'); var a_style=document.createAttribute('style'); a_style.value='text-decoration: none;color: white;'; a.setAttributeNode(a_style); li.appendChild(a); a.innerHTML=arr[i]; } document.body.appendChild(ul); </script> </body> </html> 哪里的问题,我的不显示出来
请问老师,要怎么修改呢,一直报错,说类型不符合
老师,我在进行域名和IP绑定的时候,保存时,要求hosts是管理员的权限,可我是管理员啊,还是会提示这个框,点保存,保存不了。
还有老师我想问下 咱们讲的这个HTML5老师不是说这个只是非常基础的一个 并没有深入了解 如果用来应对面试 咱们讲的这些够用吗
转义符\t或者\d等等应该放在哪啊?
“用户名”\t+uname这样行吗?
\t"用户名”+uname这样行吗?
“用户名\t”+uname这样行吗?
“\t用户名”+uname这样行吗?
“用户名”+\tuname这样行吗?
“用户名”+uname\t这样行吗?
视频中说道调用构造函数不能直接引用需要加this,还有构造函数必须放在第一句。
public class HelloWorld{
int a = 1;
public int s1(int a) {
System.out.println(3);
this.s1(1,2); //s1(1,2)也可以调用
return 1;
}
public int s1(int a,int b) {
System.out.println(4);
public static void main(String[] args) {
HelloWorld s = new HelloWorld();
s.s1(1);
为什么我不放在第一句也能调用?直接用s1(1,2)也可以调用?
老师,课堂作业的第二题怎么做,感觉和第一题的求和不一样啊,i怎么赋值啊?
下面是我的代码,不知道i怎么取值
老师,我想问一下,使用with进行上下文管理的时候,open()方法里面规定的编码,什么时候使用“gbk”,什么时候使用“utf-8”
老师 为什么 User user = new User();注释前是500错误 注释后是401
能查到信息但还是空指针异常呢?
老师我不调用fos.flush方法也可以把图片写入到d盘当中啊
这个接口失效了,已经没办法访问了。。。。。
不是很明白这个公式中
4 + 3*X
的意思,能不能指出在那些视频中有讲到相关的知识点,我再去看看
y = 4 + 3*X + np.random.randn(100, 1)
// 2.将⼀段字符串变成驼峰命名法 var str = "hello-world"; var arr=str.split("-"); var result=""; for(i=0;i<arr.length;i++){ var word=arr[i]; result+=word.charAt(0).toUpperCase()+word.substr(1); } console.log(result);
就是这个代码中,charAt()和toUpperCase()不是字符串的方法嘛,为什么word这个数组可以用呀
非常抱歉给您带来不好的体验!为了更深入的了解您的学习情况以及遇到的问题,您可以直接拨打投诉热线:
我们将在第一时间处理好您的问题!
关于
课程分类
百战程序员微信公众号
百战程序员微信小程序
©2014-2025百战汇智(北京)科技有限公司 All Rights Reserved 北京亦庄经济开发区科创十四街 赛蒂国际工业园网站维护:百战汇智(北京)科技有限公司 京公网安备 11011402011233号 京ICP备18060230号-3 营业执照 经营许可证:京B2-20212637