홈페이지를 중앙정렬로 하는방법좀 알려주세요., > 그누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");
?>
© SIRSOFT
현재 페이지 제일 처음으로