2013-10-08 1 views
0

분명히 여기 뭔가가 분명하지 않습니다. # 포장 단지의 CSS가 보이지 않습니다. 내가 뭘 잘못하고 있는지 모르겠다. 아래에있는 내 코드를 통해 살펴주십시오이 div에서 내가 뭘 잘못하고 있니?

<html> 
<head> 
<title> WhateverWorks </title> 
<style> 
body{ 
background-color: #0066CC; 
color: white; 
} 
h1{ 
font-size: 18pt; 
color: white; 
font-style: bold; 
font-family: calibri; 
} 
#wrap{ 
border solid 2px #000; 
background-color: #00033; 
width: 800px; 
height: 200px; 
} 
</style> 
</head> 
<body> 
<div id="wrap"> 
This site is under construction...<br /> please see our facebook page for now! 
</div> 
</body> 
</html> 

답변

1

font-style: bold;

->은 콜로있다 -> 그것은 font-weight: bold;

border solid 2px #000;

이야 N (:) 실종 : border:solid 2px #000;

background-color: #00033;

은 -> 숫자가 누락있어, 진수는 6 개 번호

있다

/편집 : 당신의 CSS가 작동하지 않는 경우 http://jigsaw.w3.org/css-validator/을보십시오.

5

당신은 국경 후 :를 잊었

border: solid 2px #000; 
+0

체크 [참조 용 피들] (http://jsfiddle.net/ZEFhf/) – karthikr

관련 문제