크롬에서 중앙으로 정렬이 정보
크롬에서 중앙으로 정렬이본문
오류 주소 : hanwoori.com
크롬에서 중앙정렬이 안됩니다.
어디를 손대야 하는지요? 여러 게시글 보고 바꾸어 보았는데도
안돼네요~ 도움을 구합니다~
인덱스 소스입니다.
<?
include_once("./_common.php");
include_once("$g4[path]/lib/latest.lib.php");
$g4['title'] = "";
include_once("./_head.php");
?>
<!-- ¸ÞÀÎȸé ÃÖ½Å±Û ½ÃÀÛ -->
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
//-->
</script>
<div align="center" "margin:0 auto;width:1024px;text-align:left">
<table width="1000" cellpadding=0 cellspacing=0">
<tr>
<td valign=top> <table width="100%" border="0" cellpadding="0" cellspacing="0" style="margin:0 auto;">
<tr>
<td rowspan="2" valign="top"><img src="images/index_07.jpg" width="200" height="489" border="0" usemap="#Map" /></td>
<td valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td colspan="3"><img src="images/index_08_01.jpg" width="555" height="20" /></td>
</tr>
<tr>
<td background="images/index_08_02.jpg" width=20> </td>
<td width=515 align="center">
<?=latest("dok.mnBn", "today_photo", 5, 10);?>
</td>
<td background="images/index_08_04.jpg" width=20> </td>
</tr>
<tr>
<td colspan="3"><img src="images/index_08_05.jpg" width="555" height="19" /></td>
</tr>
</table></td>
<td valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0" style="margin:0 auto;">
<tr>
<td colspan="3"><img src="images/index_09_01.jpg" width="245" height="76" /></td>
</tr>
<tr>
<td background="/images/index_09_02.jpg" width=20> </td>
<td background="/images/index_09_03.jpg" width=190>
<?
include_once("./_common.php");
include_once("$g4[path]/lib/latest.lib.php");
echo latest("movie_test2", movie, 1, 18);
?>
</td>
<td background="/images/index_09_04.jpg" width=36> </td>
</tr>
<tr>
<td colspan="3"><img src="images/index_09_05.jpg" width="245" height="30" /></td>
</tr>
<tr>
<td height="5" colspan="3"></td>
</tr>
<tr>
<td colspan="3"><table width="245" border="0" cellspacing="0" cellpadding="0" style="margin:0 auto;">
<tr>
<td><a href="/bbs/board.php?bo_table=notice"><img src="images/index_11.jpg" width="245" height="27" border="0" /></a></td>
</tr>
<tr>
<td><table width="244" border="0" style="margin:0 auto;">
<tr>
<td width="0"> </td>
<td width="208">
<?=latest("aei2", "notice", 4, 20)?>
</td>
<td width="0"> </td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td colspan="2" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0" style="margin:0 auto;">
<tr>
<td width="555"><a href="/bbs/board.php?bo_table=column"><img src="images/bar01.gif" width="555" height="25" border="0" /></a></td>
<td><a href="/bbs/board.php?bo_table=family"><img src="images/bar02.gif" width="245" height="25" border="0" /></a></td>
</tr>
<tr>
<td height="10"></td>
<td rowspan="2"> <div align="center">
<?=latest("latest_onetap04", "family", 5, 20); // ÃÖ½Å±Û ¿ÀÅäÅǹ«ºù ?>
</div></td>
</tr>
<tr>
<td width="555">
<?=latest("new2", "column", 1, 30);?>
</td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table>
<!-- ¸ÞÀÎȸé ÃÖ½Å±Û ³¡ -->
<?
include_once("./_tail.php");
?>
<map name="Map" id="Map">
<area shape="rect" coords="10,3,194,61" href="/greeting.php" />
<area shape="rect" coords="9,75,190,142" href="/time.php" />
<area shape="rect" coords="7,152,187,196" href="http://www.present.or.kr/" target="_blank" />
<area shape="rect" coords="7,206,188,250" href="http://www.present.or.kr/element.php" target="_blank" />
<area shape="rect" coords="4,262,192,308" href="http://www.gapck.org/" target="_blank" />
<area shape="rect" coords="5,321,188,364" href="http://www.prayer24365.org/prayer24365_13.php" target="_blank" alt="38ÆÀŬ¸¯" />
</map>
</div>
크롬에서 중앙정렬이 안됩니다.
어디를 손대야 하는지요? 여러 게시글 보고 바꾸어 보았는데도
안돼네요~ 도움을 구합니다~
인덱스 소스입니다.
<?
include_once("./_common.php");
include_once("$g4[path]/lib/latest.lib.php");
$g4['title'] = "";
include_once("./_head.php");
?>
<!-- ¸ÞÀÎȸé ÃÖ½Å±Û ½ÃÀÛ -->
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
//-->
</script>
<div align="center" "margin:0 auto;width:1024px;text-align:left">
<table width="1000" cellpadding=0 cellspacing=0">
<tr>
<td valign=top> <table width="100%" border="0" cellpadding="0" cellspacing="0" style="margin:0 auto;">
<tr>
<td rowspan="2" valign="top"><img src="images/index_07.jpg" width="200" height="489" border="0" usemap="#Map" /></td>
<td valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td colspan="3"><img src="images/index_08_01.jpg" width="555" height="20" /></td>
</tr>
<tr>
<td background="images/index_08_02.jpg" width=20> </td>
<td width=515 align="center">
<?=latest("dok.mnBn", "today_photo", 5, 10);?>
</td>
<td background="images/index_08_04.jpg" width=20> </td>
</tr>
<tr>
<td colspan="3"><img src="images/index_08_05.jpg" width="555" height="19" /></td>
</tr>
</table></td>
<td valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0" style="margin:0 auto;">
<tr>
<td colspan="3"><img src="images/index_09_01.jpg" width="245" height="76" /></td>
</tr>
<tr>
<td background="/images/index_09_02.jpg" width=20> </td>
<td background="/images/index_09_03.jpg" width=190>
<?
include_once("./_common.php");
include_once("$g4[path]/lib/latest.lib.php");
echo latest("movie_test2", movie, 1, 18);
?>
</td>
<td background="/images/index_09_04.jpg" width=36> </td>
</tr>
<tr>
<td colspan="3"><img src="images/index_09_05.jpg" width="245" height="30" /></td>
</tr>
<tr>
<td height="5" colspan="3"></td>
</tr>
<tr>
<td colspan="3"><table width="245" border="0" cellspacing="0" cellpadding="0" style="margin:0 auto;">
<tr>
<td><a href="/bbs/board.php?bo_table=notice"><img src="images/index_11.jpg" width="245" height="27" border="0" /></a></td>
</tr>
<tr>
<td><table width="244" border="0" style="margin:0 auto;">
<tr>
<td width="0"> </td>
<td width="208">
<?=latest("aei2", "notice", 4, 20)?>
</td>
<td width="0"> </td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td colspan="2" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0" style="margin:0 auto;">
<tr>
<td width="555"><a href="/bbs/board.php?bo_table=column"><img src="images/bar01.gif" width="555" height="25" border="0" /></a></td>
<td><a href="/bbs/board.php?bo_table=family"><img src="images/bar02.gif" width="245" height="25" border="0" /></a></td>
</tr>
<tr>
<td height="10"></td>
<td rowspan="2"> <div align="center">
<?=latest("latest_onetap04", "family", 5, 20); // ÃÖ½Å±Û ¿ÀÅäÅǹ«ºù ?>
</div></td>
</tr>
<tr>
<td width="555">
<?=latest("new2", "column", 1, 30);?>
</td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table>
<!-- ¸ÞÀÎȸé ÃÖ½Å±Û ³¡ -->
<?
include_once("./_tail.php");
?>
<map name="Map" id="Map">
<area shape="rect" coords="10,3,194,61" href="/greeting.php" />
<area shape="rect" coords="9,75,190,142" href="/time.php" />
<area shape="rect" coords="7,152,187,196" href="http://www.present.or.kr/" target="_blank" />
<area shape="rect" coords="7,206,188,250" href="http://www.present.or.kr/element.php" target="_blank" />
<area shape="rect" coords="4,262,192,308" href="http://www.gapck.org/" target="_blank" />
<area shape="rect" coords="5,321,188,364" href="http://www.prayer24365.org/prayer24365_13.php" target="_blank" alt="38ÆÀŬ¸¯" />
</map>
</div>
댓글 전체
<div align="center" "margin:0 auto;width:1024px;text-align:left">
text-align:center
대체적으로 이런부분입니다.
text-align:center
대체적으로 이런부분입니다.
답변 감사합니다~ 그런데 어떻게 수정해야 하는지요? left를 빼면 되는건가요? 명령어를 빼도 달라지는게 없네요~
center 입니다.