html로 홈페이지를 만들었는데 최신글 때문에 include하면
css로 중앙 정렬을 해놓은게 먹히질 않네요.
css로 중앙 정렬 정의는
#Center {width:960px; margin-right:auto; margin-left:auto;}
이렇게 해 놓았는데
css적용이 되면서 최신글 include하려면
<?
$g4_path="../gnuboard4";
include_once("../gnuboard4/common.php");
include_once("$g4[path]/lib/latest.lib.php");
?>
<!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" />
이걸 어떻게 수정해서 사용해야 할까요?
css로 중앙 정렬 정의는
#Center {width:960px; margin-right:auto; margin-left:auto;}
이렇게 해 놓았는데
css적용이 되면서 최신글 include하려면
<?
$g4_path="../gnuboard4";
include_once("../gnuboard4/common.php");
include_once("$g4[path]/lib/latest.lib.php");
?>
<!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" />
이걸 어떻게 수정해서 사용해야 할까요?
|
댓글을 작성하시려면 로그인이 필요합니다.
로그인
댓글 2개