100% 배경을 넣고 센터정렬을 했습니다..
근데 익스6에서는 센터정렬이 잘되다가 윈도우창 하단에 스크롤바가 생기면 센터정렬이 멈추거든요..
다른 브라우져들은 하단에 스크롤이 생기든 않생기든 무조건 센터정렬이되고요...
제 질문의 요지는 익스6처럼 다른브라우져에서도 하단에 스크롤이 생기면 센터정렬이 멈추게 하는겁니다...
혹은 지정한 픽셀에서는 센터정렬이 멈추게하고싶은데..
회원님들의 은총어린 답변 기다리겠습니다 ㅠ
<style>
#body{
width:100%;
height:1000px;
border:2px solid #000000;
margin: 0 auto; text-align: left;
background:url('http://wdlook.com/ms_design/example/img/test_bg.png') no-repeat center top; left:0; top:0;
}
#wrapper{
width:1000px;
height:500px;
border:2px solid #000000;
margin: 0 auto; text-align: left;
}
</style>
<div id="body" class="png">
<div id="wrapper">
내용나오라오바
</div>
</div><div class='small'>[이 게시물은 관리자님에 의해 2011-10-31 17:16:08 PHP & HTML에서 이동 됨]</div>
근데 익스6에서는 센터정렬이 잘되다가 윈도우창 하단에 스크롤바가 생기면 센터정렬이 멈추거든요..
다른 브라우져들은 하단에 스크롤이 생기든 않생기든 무조건 센터정렬이되고요...
제 질문의 요지는 익스6처럼 다른브라우져에서도 하단에 스크롤이 생기면 센터정렬이 멈추게 하는겁니다...
혹은 지정한 픽셀에서는 센터정렬이 멈추게하고싶은데..
회원님들의 은총어린 답변 기다리겠습니다 ㅠ
<style>
#body{
width:100%;
height:1000px;
border:2px solid #000000;
margin: 0 auto; text-align: left;
background:url('http://wdlook.com/ms_design/example/img/test_bg.png') no-repeat center top; left:0; top:0;
}
#wrapper{
width:1000px;
height:500px;
border:2px solid #000000;
margin: 0 auto; text-align: left;
}
</style>
<div id="body" class="png">
<div id="wrapper">
내용나오라오바
</div>
</div><div class='small'>[이 게시물은 관리자님에 의해 2011-10-31 17:16:08 PHP & HTML에서 이동 됨]</div>
댓글 3개
14년 전
doctype선언안하고 작업하셨나봐요? 아래소스로 해보세요
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="ko" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<meta content="IE=7" http-equiv="X-UA-Compatible" />
<title> New Document </title>
<meta name="Generator" content="EditPlus">
<meta name="Author" content="">
<meta name="Keywords" content="">
<meta name="Description" content="">
<style>
#body{
width:100%;
height:1000px;
border:2px solid #000000;
margin: 0 auto; text-align: left;
background:url('http://wdlook.com/ms_design/example/img/test_bg.png') no-repeat center top; left:0; top:0;
}
#wrapper{
width:1000px;
height:500px;
border:2px solid #000000;
margin: 0 auto; text-align: left;
}
</style>
</head>
<body>
<div id="body" class="png">
<div id="wrapper">
내용나오라오바
</div>
</div>
</body>
</html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="ko" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<meta content="IE=7" http-equiv="X-UA-Compatible" />
<title> New Document </title>
<meta name="Generator" content="EditPlus">
<meta name="Author" content="">
<meta name="Keywords" content="">
<meta name="Description" content="">
<style>
#body{
width:100%;
height:1000px;
border:2px solid #000000;
margin: 0 auto; text-align: left;
background:url('http://wdlook.com/ms_design/example/img/test_bg.png') no-repeat center top; left:0; top:0;
}
#wrapper{
width:1000px;
height:500px;
border:2px solid #000000;
margin: 0 auto; text-align: left;
}
</style>
</head>
<body>
<div id="body" class="png">
<div id="wrapper">
내용나오라오바
</div>
</div>
</body>
</html>
14년 전
doctype 선언했습니다.. 그래도 않되요 ㅠ
14년 전
녀우비님말대로 소스확인해보세요;; 저는 똑띠 나오는데;;
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 4130 |
진정한승리v
|
13년 전 | 1054 | |
| 4129 | 13년 전 | 1422 | ||
| 4128 |
onlymilk74
|
13년 전 | 616 | |
| 4127 | 13년 전 | 530 | ||
| 4126 |
visualp
|
13년 전 | 1248 | |
| 4125 |
visualp
|
13년 전 | 1580 | |
| 4124 | 13년 전 | 1653 | ||
| 4123 | 13년 전 | 819 | ||
| 4122 |
visualp
|
13년 전 | 635 | |
| 4121 |
visualp
|
13년 전 | 1789 | |
| 4120 |
visualp
|
13년 전 | 856 | |
| 4119 |
visualp
|
13년 전 | 1231 | |
| 4118 |
그래픽노블
|
13년 전 | 683 | |
| 4117 |
visualp
|
13년 전 | 742 | |
| 4116 | 13년 전 | 732 | ||
| 4115 |
visualp
|
13년 전 | 823 | |
| 4114 |
onlymilk74
|
13년 전 | 4625 | |
| 4113 | 13년 전 | 730 | ||
| 4112 |
그래픽노블
|
13년 전 | 850 | |
| 4111 | 13년 전 | 1505 | ||
| 4110 | 13년 전 | 675 | ||
| 4109 | 13년 전 | 468 | ||
| 4108 | 13년 전 | 841 | ||
| 4107 | 13년 전 | 2112 | ||
| 4106 | 13년 전 | 1584 | ||
| 4105 |
onlymilk74
|
14년 전 | 1407 | |
| 4104 | 14년 전 | 2838 | ||
| 4103 | 14년 전 | 1949 | ||
| 4102 | 14년 전 | 905 | ||
| 4101 | 14년 전 | 971 | ||
| 4100 | 14년 전 | 926 | ||
| 4099 | 14년 전 | 1024 | ||
| 4098 |
Lonnie
|
14년 전 | 519 | |
| 4097 | 14년 전 | 821 | ||
| 4096 | 14년 전 | 971 | ||
| 4095 | 14년 전 | 2521 | ||
| 4094 | 14년 전 | 837 | ||
| 4093 | 14년 전 | 565 | ||
| 4092 |
|
14년 전 | 587 | |
| 4091 | 14년 전 | 2935 | ||
| 4090 | 14년 전 | 724 | ||
| 4089 |
|
14년 전 | 1437 | |
| 4088 | 14년 전 | 1439 | ||
| 4087 | 14년 전 | 634 | ||
| 4086 | 14년 전 | 1357 | ||
| 4085 | 14년 전 | 747 | ||
| 4084 | 14년 전 | 854 | ||
| 4083 | 14년 전 | 1815 | ||
| 4082 | 14년 전 | 1520 | ||
| 4081 | 14년 전 | 2120 | ||
| 4080 |
onlymilk74
|
14년 전 | 854 | |
| 4079 | 14년 전 | 740 | ||
| 4078 | 14년 전 | 2124 | ||
| 4077 |
DreamT
|
14년 전 | 755 | |
| 4076 | 14년 전 | 861 | ||
| 4075 | 14년 전 | 1975 | ||
| 4074 | 14년 전 | 993 | ||
| 4073 | 14년 전 | 900 | ||
| 4072 |
onlymilk74
|
14년 전 | 649 | |
| 4071 | 14년 전 | 897 | ||
| 4070 | 14년 전 | 1912 | ||
| 4069 | 14년 전 | 476 | ||
| 4068 | 14년 전 | 2436 | ||
| 4067 | 14년 전 | 802 | ||
| 4066 | 14년 전 | 510 | ||
| 4065 | 14년 전 | 514 | ||
| 4064 | 14년 전 | 774 | ||
| 4063 | 14년 전 | 683 | ||
| 4062 | 14년 전 | 579 | ||
| 4061 | 14년 전 | 1072 | ||
| 4060 | 14년 전 | 511 | ||
| 4059 | 14년 전 | 1192 | ||
| 4058 | 14년 전 | 1561 | ||
| 4057 | 14년 전 | 520 | ||
| 4056 |
|
14년 전 | 658 | |
| 4055 |
SGFlash
|
14년 전 | 509 | |
| 4054 |
Priere
|
14년 전 | 658 | |
| 4053 | 14년 전 | 1085 | ||
| 4052 | 14년 전 | 782 | ||
| 4051 | 14년 전 | 908 | ||
| 4050 | 14년 전 | 729 | ||
| 4049 | 14년 전 | 865 | ||
| 4048 |
내꿈은대통령
|
14년 전 | 456 | |
| 4047 |
visualp
|
14년 전 | 1266 | |
| 4046 |
visualp
|
14년 전 | 609 | |
| 4045 |
visualp
|
14년 전 | 1369 | |
| 4044 | 14년 전 | 8124 | ||
| 4043 | 14년 전 | 747 | ||
| 4042 | 14년 전 | 1593 | ||
| 4041 | 14년 전 | 1317 | ||
| 4040 | 14년 전 | 1593 | ||
| 4039 | 14년 전 | 1927 | ||
| 4038 | 14년 전 | 526 | ||
| 4037 |
sider
|
14년 전 | 670 | |
| 4036 | 14년 전 | 6463 | ||
| 4035 | 14년 전 | 652 | ||
| 4034 | 14년 전 | 584 | ||
| 4033 |
techer
|
14년 전 | 1731 | |
| 4032 | 14년 전 | 639 | ||
| 4031 | 14년 전 | 634 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기