Home > Web Front-end > HTML Tutorial > css initialization problem_html/css_WEB-ITnose

css initialization problem_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 11:51:58
Original
1351 people have browsed it

 
#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, 5b8b4f53; }
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 引用路径.

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template