입력 폼 왼쪽 정렬..

게시판 글쓰기 페이지에서

입력폼이 자꾸 가운데 정렬이 되는데 왼쪽 정렬 할 수 없을까요

스킨에서 전부 align="left" 입력해도 입력폼은 가운데 정렬이 되네요 ㅠ..
|

댓글 3개

글쓰기 소스를 올려보시는게.

css 때문일수도 잇고

dtd선언 때문에 간혹 가운데 정렬이 되는 경우도 있습니다.
http://dpower.co.kr 홈페이지구요 게시판 글쓰기 누르면 글자들은 왼쪽 정렬인데
입력폼만 가운데 정렬되있네요

head.sub.php dtd 선언이구요
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<head>
<meta http-equiv="content-type" content="text/html; charset=<?=$g4['charset']?>">
<title><?=$g4['title']?></title>
<link rel="stylesheet" href="<?=$g4['path']?>/style.css" type="text/css">
</head>

css

@charset "utf-8";
/* CSS Document */

/* base */
* {margin: 0px; padding: 0px;}
.clear_both {clear: both;}

/* header */
#header_wrap {background: url(../img/header/top_line.gif); background-repeat: repeat-x; position: relative;}
#header_size_fix {width: 1024px; height: 128px; margin: 0 auto 0 auto;}
#logo {width: 183px; height: 33px; padding: 50px 0 0 50px; float: left;}
#menu_wrap {float: right;}
#etc_menu {width: 370px; height: 10px; padding: 50px 0 0 200px; text-align: right;}
#etc_menu ul li {display: inline; list-style: none; padding-right: 10px;}
#main_menu {width: 500px; height: 50px; padding: 10px 40px 0 70px;}

/* main */
#main_wrap {}
#main_size_fix {width: 1024px; margin: 0 auto 0 auto; position: relative;}
#main_img {width: 1000px; height: 420px; padding: 10px 0 0 30px;}

/* sub */
#sub_wrap {}
#sub_size_fix {width: 1024px; margin: 0 auto 0 auto; position: relative;}
#sub_menu {width: 150px; padding: 20px 0 0 30px; float: left;}
#menu_title {padding-bottom: 10px;}
#menu_line {padding-bottom: 13px;}
.menu_list {padding: 0 0 10px 20px;}
.list_line {padding-bottom: 10px;}
#content {width: 794px; float: right; padding: 20px 20px 50px 20px; text-align: left;}

/* footer */
#footer_wrap {}
#footer_size_fix {width: 1024px; height: 85px; margin: 0 auto 0 auto; position:relative}
#sub_logo {width: 146px; height: 26px; padding: 30px 0 0 220px; float: left;}
#copy {width: 406px; height: 24px; float: left; padding: 34px 0 0 50px;}
글쓰기 소스

http://dpower.co.kr 홈페이지구요 게시판 글쓰기 누르면 글자들은 왼쪽 정렬인데
입력폼만 가운데 정렬되있네요

head.sub.php dtd 선언이구요
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<head>
<meta http-equiv="content-type" content="text/html; charset=<?=$g4['charset']?>">
<title><?=$g4['title']?></title>
<link rel="stylesheet" href="<?=$g4['path']?>/style.css" type="text/css">
</head>

css

@charset "utf-8";
/* CSS Document */

/* base */
* {margin: 0px; padding: 0px;}
.clear_both {clear: both;}

/* header */
#header_wrap {background: url(../img/header/top_line.gif); background-repeat: repeat-x; position: relative;}
#header_size_fix {width: 1024px; height: 128px; margin: 0 auto 0 auto;}
#logo {width: 183px; height: 33px; padding: 50px 0 0 50px; float: left;}
#menu_wrap {float: right;}
#etc_menu {width: 370px; height: 10px; padding: 50px 0 0 200px; text-align: right;}
#etc_menu ul li {display: inline; list-style: none; padding-right: 10px;}
#main_menu {width: 500px; height: 50px; padding: 10px 40px 0 70px;}

/* main */
#main_wrap {}
#main_size_fix {width: 1024px; margin: 0 auto 0 auto; position: relative;}
#main_img {width: 1000px; height: 420px; padding: 10px 0 0 30px;}

/* sub */
#sub_wrap {}
#sub_size_fix {width: 1024px; margin: 0 auto 0 auto; position: relative;}
#sub_menu {width: 150px; padding: 20px 0 0 30px; float: left;}
#menu_title {padding-bottom: 10px;}
#menu_line {padding-bottom: 13px;}
.menu_list {padding: 0 0 10px 20px;}
.list_line {padding-bottom: 10px;}
#content {width: 794px; float: right; padding: 20px 20px 50px 20px; text-align: left;}

/* footer */
#footer_wrap {}
#footer_size_fix {width: 1024px; height: 85px; margin: 0 auto 0 auto; position:relative}
#sub_logo {width: 146px; height: 26px; padding: 30px 0 0 220px; float: left;}
#copy {width: 406px; height: 24px; float: left; padding: 34px 0 0 50px;}

글쓰기 소스

<table width="<?=$width?>" align="left" cellpadding=0 cellspacing=0><tr><td aling="left">


<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:14px; margin:7px 0 0 10px;">:: <?=$title_msg?> ::</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=90>
<colgroup width=''>
<tr><td aling="left" colspan="2" style="background:url(<?=$board_skin_path?>/img/title_bg.gif) repeat-x; height:3px;"></td></tr>
<? if ($is_name) { ?>
<tr>
<td aling="left" class=write_head>이 름</td>
<td aling="left"><input class='ed' maxlength=20 size=15 name=wr_name itemname="이름" required value="<?=$name?>"></td></tr>
<tr><td aling="left" colspan=2 height=1 bgcolor=#e7e7e7></td></tr>
<? } ?>
댓글을 작성하시려면 로그인이 필요합니다. 로그인

그누4 질문답변

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

+
제목 글쓴이 날짜 조회
12년 전 조회 1,171
12년 전 조회 1,560
12년 전 조회 861
12년 전 조회 967
12년 전 조회 789
12년 전 조회 845
12년 전 조회 976
12년 전 조회 1,576
12년 전 조회 750
12년 전 조회 1,510
12년 전 조회 1,062
12년 전 조회 1,540
12년 전 조회 1,573
12년 전 조회 2,328
12년 전 조회 767
12년 전 조회 959
12년 전 조회 715
12년 전 조회 802
12년 전 조회 2,785
12년 전 조회 1,437
🐛 버그신고