QWebView
이있는 소프트웨어를 사용하여 HTML
개의 파일을 표시하고 있습니다. 내 문제는 환영 페이지가 잘 표시되지 않는다는 것입니다. 처럼 보이면 중앙의 빨간색 선 사이에 이미지가 있어야합니다. 문제는 확실히 내 HTML
및/또는 CSS. So here is my
HTML`입니다 :HTML 페이지가 QWebview에 바로 표시되지 않습니다.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Untitled Document</title>
<link href="styles/accueil.css" rel="stylesheet" type="text/css" media="screen" />
</head>
<body>
<div class="container">
<div class="ligne"> </div>
</div>
<div class="ligne"> </div>
</body>
</html>
그리고 내 CSS
:
@charset "UTF-8";
/* CSS Document */
body{
background-color:white;
margin:0 auto;
height:100%;
}
html {
overflow-y: scroll;
height:100%;
}
img{
border:none;
}
.container {
min-height: 100%;
height: auto !important;
height: 100%;
margin: 0 auto -20px;
background-image: url(../icones/accueil.jpg);
background-repeat:no-repeat;
background-position:center center;
}
.ligne{
width:100%;
height: 20px;
background-color:#ee1b2e;
}
내가 잘못 쓴의 어떤 생각?
감사합니다.
------ 수정 ------
에만 발생 ... MAC, 7, Vista에서 그것을 찾을 작동 XP에있다. 당신이 사용하는 경우 그것은 내가 왜 정확하게 확실하지 않다 this
누군가 다른 사람이 페이지를 만들 수있는 방법이 있다면 시도해 보겠습니다. 나는 HTML CSS에 그렇게 좋지 않아 마음을 열었습니다. – castors33