익스플로러와 크롬에서의 가운데 정렬 질문입니다.

익스.png
크롬.png
오류가 나는곳의 주소를 알려주시면 더 빠르고 정확하게 답변 받을 수 있습니다.

오류 주소 : http://www.snaphue.com/gnuboard4/bbs/write.php?bo_table=qna


홈페이지 초보입니다. 이것저것 시도해보고 고수님들의 도움을 통해 지금 홈페이지 완성 가까이 왔는데요.

마지막에 안되는 부분이 있어서 질문을 남겨요.


홈페이지 메뉴중에 예약문의와 예약확인이 있는데요. 글쓰기 버튼을 눌러서 들어가면

익스플로러에서는 가운데 정렬이 되지만 크롬에선 왼쪽으로 붙어버리네요. ;;

아래는 write.skin.php 폴더안에 있는 일부구요.

이 중에서 <---- 이부분 이라고 체크해놓은 곳의 center를 없애보니 익스플로러에서도 왼쪽으로 가버리고

다시 가운데 정렬하니 가운데로 되더라구요. 그래서 이게 뭔가 맞는거 같긴한데

크롬에선 안 먹히더라구요. ;; 크롬에서 적용이 되려면 또 다른 명령어를 넣어줘야 하나요?

두서없이 글을 제 위주로 너무 막 적은게 아닌가 싶네요. 도움 좀 부탁드립니다~



<div style="height:14px; line-height:1px; font-size:1px;">&nbsp;</div>

<style type="text/css">
.write_head { height:30px; text-align:center; color:#8492A0; }
.field { border:1px solid #ccc; }
</style>

<script type="text/javascript">
// 글자수 제한
var char_min = parseInt(<?=$write_min?>); // 최소
var char_max = parseInt(<?=$write_max?>); // 최대
</script>

<form name="fwrite" method="post" onsubmit="return fwrite_submit(this);" enctype="multipart/form-data" style="margin:0px;">
<input type=hidden name=null>
<input type=hidden name=w value="<?=$w?>">
<input type=hidden name=bo_table value="<?=$bo_table?>">
<input type=hidden name=wr_id value="<?=$wr_id?>">
<input type=hidden name=sca value="<?=$sca?>">
<input type=hidden name=sfl value="<?=$sfl?>">
<input type=hidden name=stx value="<?=$stx?>">
<input type=hidden name=spt value="<?=$spt?>">
<input type=hidden name=sst value="<?=$sst?>">
<input type=hidden name=sod value="<?=$sod?>">
<input type=hidden name=page value="<?=$page?>">

<table width="<?=$width?>" align="center" cellpadding=0 cellspacing=0><tr><td> <--------- 이부분


<div style="border:1px solid #ddd; height:34px; background:url(<?=$board_skin_path?>/img/title_bg.gif) repeat-x;">
<div style="font-weight:bold; font-size:12px; color:#7f7f7f; margin:8px 0 0 10px;"> The natural snap hue > 예약문의 </div>
</div>
<div style="height:3px; background:url(<?=$board_skin_path?>/img/title_shadow.gif) repeat-x; line-height:1px; font-size:1px;"></div>


<table width="100%" border="0" cellspacing="0" cellpadding="0">
<colgroup width=150>
<colgroup width=''>

<? if ($is_name) { ?>
<tr>
<td class=write_head style="background:#f4f4f4;">이 름</td>
<td style="padding:0 0 0 10px;"><input class='ed' maxlength=20 size=15 name=wr_name itemname="이름" required value="<?=$name?>"></td></tr>
<tr><td colspan=2 height=1 bgcolor=#e7e7e7></td></tr>
<? } ?>


첨부파일

익스.png (65.6 KB)
3회 2013-11-07 13:09
크롬.png (68.7 KB)
0회 2013-11-07 13:09
|

댓글 2개

<table width="<?=$width?>" align="center" cellpadding=0 cellspacing=0 style="margin:0 auto;"><tr><td>

style="margin:0 auto;" 추가해주세요.
너무나 감사합니다 ~ 바로 해결이 되었습니다 ~ ^ ^
댓글을 작성하시려면 로그인이 필요합니다. 로그인

그누4 질문답변

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

+
제목 글쓴이 날짜 조회
12년 전 조회 1,642
12년 전 조회 1,502
12년 전 조회 1,660
12년 전 조회 1,576
12년 전 조회 2,558
12년 전 조회 1,069
12년 전 조회 1,571
12년 전 조회 1,590
12년 전 조회 995
12년 전 조회 4,509
12년 전 조회 1,966
12년 전 조회 1,712
12년 전 조회 7,239
12년 전 조회 1,065
12년 전 조회 1,627
12년 전 조회 1,619
12년 전 조회 1,629
12년 전 조회 1,559
12년 전 조회 1,621
12년 전 조회 1,593
🐛 버그신고