我想知道为什么我的CSS不适用于我的HTML。我不认为我做错了什么,但它不适用。这可能是一些非常愚蠢的初学者错误,但我不知道我做错了什么。
我的HTML:
<head>
<link rel="stylesheet" type="text/css" src="imagetest.css">
<link href='http://fonts.googleapis.com/css?family=Antic+Didone' rel='stylesheet' type='text/css'>
</head>
<body>
<div id="imagesWrapper">
<!-------------------------------DEVIDER------------------------------->
<div id="img1Wrap" class="imgWrapGlobal">
<img id="img1" class="images" src="img/img1.png">
</div>
<div id="img2Wrap" class="imgWrapGlobal">
<img id="img2" class="images" src="img/img2.png">
</div>
<div id="img3Wrap" class="imgWrapGlobal">
<img id="img3" class="images" src="img/img3.png">
</div>
<div id="img4Wrap" class="imgWrapGlobal">
<img id="img4" class="images" src="img/img4.png">
</div>
<div id="img5Wrap" class="imgWrapGlobal">
<img id="img5" class="images" src="img/img5.png">
</div>
<div id="img6Wrap" class="imgWrapGlobal">
<img id="img6" class="images" src="img/img6.png">
</div>
</div>
</body>
我的CSS:
.images{
width:200px;
}
答案 0 :(得分:8)