ホームページ  >  記事  >  ウェブフロントエンド  >  CSS 初期化の問題_html/css_WEB-ITnose

CSS 初期化の問題_html/css_WEB-ITnose

WBOY
WBOYオリジナル
2016-06-24 11:51:581281ブラウズ


#main{
width:1024px;
高さ:900ピクセル;  
背景:#000000;
}
#top{
背景: url(image/bground1.jpg);
}
#lside{
width:700px;
高さ:700ピクセル;
フロート:左;
背景:#fff000;
}
#rside{
width:300px;
高さ:700ピクセル;
フロート:右;
背景:#ccccdd;
}





















如果無しcss初期化的话,#main就工作,上之後不工作了,これ是何ですか? 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 { マージン:0; パディング:0; }
body, ボタン, 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; } 小さい{ 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; }
凡例 { color:#000; }
フィールドセット, img { border:0; }
ボタン、入力、選択、テキストエリア { font-size:100%; }
テーブル { border-collapse:collapse; 境界線の間隔:0; }




回复讨论(解决方案)

不可能、互不影响。
请检查taabao.css 参照路径。

声明:
この記事の内容はネチズンが自主的に寄稿したものであり、著作権は原著者に帰属します。このサイトは、それに相当する法的責任を負いません。盗作または侵害の疑いのあるコンテンツを見つけた場合は、admin@php.cn までご連絡ください。