내 웹 페이지는 두 가지로 구성됩니다. 모든 창 크기를 조정할 이미지 크기를 조정 한 다음 4 개의 텍스트 상자가있는 이미지를 이미지의 특정 위치에 배치합니다.요소를 창에서 같은 위치에 배치합니다. 크기 조정
제 문제는 텍스트 상자가 윈도우 크기 조정에서 벗어나 이동하는 것입니다. 나는 6 시간 이상을 CSS와 jquery에서 모든 것을 시도하면서 내 머리카락을 뽑아 냈지만, 나는 아무것도 얻을 수 없다.
<!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>
<title></title>
<style type="text/css">
body
{
margin: auto;
width: 100%;
}
.Wrapper
{
position:relative;
min-width: 500px;
width: 100%;
margin:auto;
}
.Image
{
max-width: 1150px;
max-height: 1453px;
width: 100%;
}
.Form
{
position: relative;
top:-260px;
left: 200px;
width: 130px;
border: solid 1px #000;
}
</style>
</head>
<body>
<div class="Wrapper">
<div>
<img src="image.png" class="Image" />
</div>
<div class="Form">
<input type="text" />
<br />
<input type="text" />
<br />
<input type="text" />
<br />
<input type="text" />
</div>
</div>
</body>
</html>
전체 창 :
크기 조정 창 : 때문에 래퍼의 CSS의 아마
jsfiddle를 만들 수 있습니까? 귀하의 마크 업 + CSS는 스크린 샷에서 레이아웃을 다시 생성하지 않습니다 – Ejaz
그 블랙 박스는 어디서 오는가? 그것은 이미지의 일부입니까? – Blazemonger
@Blazemonger - 예, 이미지입니다. –