body
{
background:url("Images/Wheat.jpg");
}
p
{
font-family: "Sans-serif";
font-size: 20px;
\t text-align: justify;
}
a:link, a:visited {
display: block;
width: 120px;
font-weight: bold;
color: #FFFFFF;
background-color: #DEB887;
text-align: center;
padding: 50px;
text-decoration: none;
text-transform: uppercase;
height:auto;
bottom:0;
top:0;
left:0;
right:0;
}
a:hover, a:active {
background-color: #E2A76F;
}
h2
{color:#996633;
font-family:Arial;
text-align: center;
font-size: 200%;
}
h3
{
font-family:Sans-serif;
font-style: italic;
text-align:left;
font-size: 130%;
}
h4
{
color:#996633;
font-family:Arial;
font-style: italic;
text-align:left;
font-size: 200%%;
}
h5
{
color:#996633;
font-family:Arial;
font-style: italic;
text-align:left;
font-size: 200%%;
}
h6
{
font-family:Sans-serif;
font-style: italic;
text-align:left;
font-size: 130%;
}
@media print {
p {
font-size: 24px;
color: Black;
}
}
CSS 코드, 이미지의 경로가 정확한지 확인하십시오. 링크를 위해 CSS를 변경했을 때 작동이 중지되었습니다. differet 경로를 사용하려고했지만 이미지가 여전히 작동하지 않습니다. 나는 이것에 신참이다 (후회한다!). 나는 그것이 HTML5에 문제가 있다고 생각하지 않는다, 나는 단지 지옥이 잘못되어 가고있는 것을 해결하려고 노력하고있는 나의 두뇌를 wracking하고있다!
코드를 붙여 넣으십시오. – scniro
파일의 상대 경로를 확인 했습니까? –
최상의 추측 : 배경 이미지는 링크가 말하는 위치가 아닙니다. 대체 추측 : 대소 문자를 구분하는 파일 이름을 사용하며 CSS의 대/소문자가 파일 또는 디렉토리의 대/소문자와 일치하지 않습니다. –