css初始化问题_html/css_WEB-ITnose
内容导读
互联网集市收集整理的这篇技术教程文章主要介绍了css初始化问题_html/css_WEB-ITnose,小编现在分享给大家,供广大互联网技能从业者学习和参考。文章包含1324字,纯文字阅读大概需要2分钟。
内容图文
![css初始化问题_html/css_WEB-ITnose](/upload/InfoBanner/zyjiaocheng/400/6f4bda744d07481eb0b7aff04fcd83f4.jpg)
#main{
width:1024px;
height:900px;
background:#000000;
}
#top{
background: url(image/bground1.jpg);
}
#lside{
width:700px;
height:700px;
float:left;
background:#fff000;
}
#rside{
width:300px;
height:700px;
float:right;
background:#ccccdd;
}
如果没有css初始化的话,#main就工作,加上之后就不工作了,这是为什么呢?
下面是初始化的代码:
@CHARSET "UTF-8";
body, h1, h2, h3, h4, h5, h6, hr, p, blockquote, dl, dt, dd, ul, ol, li, pre, form, fieldset, legend, button, input, textarea, th, td { margin:0; padding:0; }
body, button, input, select, textarea { font:12px/1.5tahoma, arial, \5b8b\4f53; }
h1, h2, h3, h4, h5, h6{ font-size:100%; }
address, cite, dfn, em, var { font-style:normal; }
code, kbd, pre, samp { font-family:couriernew, courier, monospace; }
small{ font-size:12px; }
ul, ol { list-style:none; }
a { text-decoration:none; }
a:hover { text-decoration:underline; }
sup { vertical-align:text-top; }
sub{ vertical-align:text-bottom; }
legend { color:#000; }
fieldset, img { border:0; }
button, input, select, textarea { font-size:100%; }
table { border-collapse:collapse; border-spacing:0; }
回复讨论(解决方案)
不可能的,两个互不影响.
请检查taobao.css 引用路径.
内容总结
以上是互联网集市为您收集整理的css初始化问题_html/css_WEB-ITnose全部内容,希望文章能够帮你解决css初始化问题_html/css_WEB-ITnose所遇到的程序开发问题。 如果觉得互联网集市技术教程内容还不错,欢迎将互联网集市网站推荐给程序员好友。
内容备注
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 gblab@vip.qq.com 举报,一经查实,本站将立刻删除。
内容手机端
扫描二维码推送至手机访问。