특정 페이지에 헤더 푸터 적용시 메뉴가 흐트러 집니다.
본문
http://yesok.biz/nara/index.php
어떤 부분에 이상이 있는지 알 수 있을까요?
정상
비정상
해당 페이지 상단 소스는 이런식으로 되어 있습니다.
<?php
include_once('./_common.php');
define('_INDEX_', true);
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
include_once('./_head.php');
?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>나라장터 검색</title>
<link rel="stylesheet" href="./inc/bootstrap.css" />
<link rel="stylesheet" href="./inc/pagination.css" />
<link rel='stylesheet' href='./inc/style.css'>
<script>
var agent = navigator.userAgent.toLowerCase();
if ( (navigator.appName == 'Netscape' && agent.indexOf('trident') != -1) || (agent.indexOf("msie") != -1)) {
location.href = "no-ie.html";
} else {
// ie가 아닐 경우
}
</script>
</head>
답변 2
<link rel="stylesheet" href="./inc/bootstrap.css" /> 삭제를 해보면 어떨까 싶습니다.
이 페이지에서만 콘솔에 보면 오류가 있는데 그것 때문은 아닐까요?
Uncaught TypeError: Cannot read property 'msie' of undefined
at handleIEFixes (app.js?ver=191202:22)
at Object.init (app.js?ver=191202:177)
at HTMLDocument.<anonymous> (index.php:975)
at mightThrow (jquery-3.4.1.js:3557)
at process (jquery-3.4.1.js:3625)
index.php:428 Uncaught TypeError: jsonResponse.body.forEach is not a function
at XMLHttpRequest.onprogress (index.php:428)
답변을 작성하시기 전에 로그인 해주세요.