안녕하세요.
아웃로그인을 div 안에 넣고 만들었는데요. 안에 들어가지 않네요.
test.html 소스
<?
$g5_path="./";
include_once("./common.php");
include_once("./head.sub.php");
include_once("./lib/outlogin.lib.php"); // outlogin() 함수를 사용하여야 하므로 이 프로그램을 포함시킵니다.
$g5_path="./";
include_once("./common.php");
include_once("./head.sub.php");
include_once("./lib/outlogin.lib.php"); // outlogin() 함수를 사용하여야 하므로 이 프로그램을 포함시킵니다.
echo outlogin("hangyeong"); // hangyeong 스킨으로 아웃로그인을 출력합니다.
if ($config['cf_include_head']) {
if (!@include_once($config['cf_include_head'])) {
die('기본환경 설정에서 상단 파일 경로가 잘못 설정되어 있습니다.');
}
return; // 이 코드의 아래는 실행을 하지 않습니다.
}
if (!@include_once($config['cf_include_head'])) {
die('기본환경 설정에서 상단 파일 경로가 잘못 설정되어 있습니다.');
}
return; // 이 코드의 아래는 실행을 하지 않습니다.
}
if (G5_IS_MOBILE) {
include_once(G5_MOBILE_PATH.'/head.php');
return;
}
?>
include_once(G5_MOBILE_PATH.'/head.php');
return;
}
?>
<!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>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<style type="text/css">
.login {
height: 50px;
width: 500px;
float: left;
background-color: #333;
text-align: center;
}
</style>
</head>
<body>
<div class="login"><?php echo outlogin('hangyeong'); // 외부 로그인 ?></div>
</body>
</html>
<div class="login"><?php echo outlogin('hangyeong'); // 외부 로그인 ?></div>
</body>
</html>
무엇이 문제인가요? 도움 부탁드려요
|
답변 1개 / 댓글 1개
채택된 답변
+20 포인트
11년 전
안데 들어가지 않는다는 말이 무슨말인가요.?
이미지 보면 아웃로그인 div안에 들어가 있는데??
이미지 보면 아웃로그인 div안에 들어가 있는데??
답변에 대한 댓글 1개
침노하는자
11년 전
답변을 작성하려면 로그인이 필요합니다.
왼쪽 색깔 진한 직사각형이 div 이거든요.
div 위치 변경을 해도 아웃로그인은 항상 저 자리 그대로 있더라고요