홈페이지를 중앙정렬로 하는방법좀 알려주세요., > 그누4 질문답변

그누4 질문답변

그누보드4 관련 질문은 QA 로 이전됩니다. QA 그누보드4 바로가기
기존 게시물은 열람만 가능합니다.

홈페이지를 중앙정렬로 하는방법좀 알려주세요., 정보

홈페이지를 중앙정렬로 하는방법좀 알려주세요.,

본문

sir이나 네이버처럼 중앙정렬로 하고 싶은데..
방법을 모르겠네요 ;;
상세히좀 부탁드립니다.

댓글 전체

<table align="center">
 <tr>
  <td></td>
 </tr>
</table>
테이블 맨위에 넣었는데 이렇게 뜹니다.


Warning: Cannot modify header information - headers already sent by (output started at /home/hosting_users/sa/www/head.php:9) in /home/hosting_users/sa/www/head.sub.php on line 47

Warning: Cannot modify header information - headers already sent by (output started at /home/hosting_users/sa/www/head.php:9) in /home/hosting_users/sa/www/head.sub.php on line 49

Warning: Cannot modify header information - headers already sent by (output started at /home/hosting_users/sa/www/head.php:9) in /home/hosting_users/sa/www/head.sub.php on line 50

Warning: Cannot modify header information - headers already sent by (output started at /home/hosting_users/sa/www/head.php:9) in /home/hosting_users/sa/www/head.sub.php on line 51

Warning: Cannot modify header information - headers already sent by (output started at /home/hosting_users/sa/www/head.php:9) in /home/hosting_users/sa/www/head.sub.php on line 52

Warning: Cannot modify header information - headers already sent by (output started at /home/hosting_users/sa/www/head.php:9) in /home/hosting_users/sa/www/head.sub.php on line 53
글 전체를 <div style="margin:0 auto"></div>로 싸주세요.

아니면 <body>아래에
<center>태그를 넣고
<div style="text-align:left;">라고 넣는 방법도 있습니다.
head.php  에서
.
.
$table_width = 1000;
?>
<div align=center>  <------------------------------------ 추가
<!-- 상단 배경 시작 -->

.
.
tail.php 에서
.
.
</table>
<!-- 카피라이트 끝 -->
</div>  <----------------------------------------------- 추가
<?
include_once("$g4[path]/tail.sub.php");
?>
전체 66,554 |RSS
그누4 질문답변 내용 검색

회원로그인

(주)에스아이알소프트 / 대표:홍석명 / (06211) 서울특별시 강남구 역삼동 707-34 한신인터밸리24 서관 1402호 / E-Mail: admin@sir.kr
사업자등록번호: 217-81-36347 / 통신판매업신고번호:2014-서울강남-02098호 / 개인정보보호책임자:김민섭(minsup@sir.kr)
© SIRSOFT