묻고답하기
테이블 만들기 view_document.html에서.
2010.02.20 14:17
xe 1.2.4버젼을 사용하고 있습니다.
파파민님의 도움으로 확장변수를 제가 원하는 위치로 배열을 했는데 (다시한번 감사드립니다, 파파민님) 이상하게 첫번째칸이 나머지보다 큽니다. 그로인해 전체적인 균형이 테이블의 왼쪽은 자리가 남아나고 오른쪽은 좁아 보여 답답합니다.
view_document.html에서 다음과 같이 했습니다.
<!--@if($oDocument->isExtraVarsExists() && (!$oDocument->isSecret() || $oDocument->isGranted()) )-->
<table border="1" cellspacing="0" summary="Extra Form" class="extraVarsList">
{@ $extravar_list = $oDocument->getExtraVars()}
<tr>
<th>{$extravar_list[2]->name} :</th>
<td>{$extravar_list[2]->getValueHTML()}</td>
<th>{$extravar_list[4]->name} :</th>
<td colspan="3">{$extravar_list[4]->getValueHTML()}</td>
</tr>
<tr>
<th>{$extravar_list[5]->name} :</th>
<td>{$extravar_list[5]->getValueHTML()}</td>
<th>{$extravar_list[2]->name} :</th>
<td colspan="3">{$extravar_list[2]->getValueHTML()}</td>
</tr>
<tr>
<th>{$extravar_list[6]->name} :</th>
<td colspan="5">{$extravar_list[6]->getValueHTML()}</td>
</tr>
<tr>
<th>{$extravar_list[6]->name} :</th>
<td>{number_format($extravar_list[6]->getValueHTML(),2)}</td>
<th>{$extravar_list[1]->name} :</th>
<td>{number_format($extravar_list[1]->getValueHTML(),2)}</td>
<th>{$extravar_list[5]->name} :</th>
<td>{$extravar_list[5]->getValueHTML()}</td>
</tr>
<tr>
<th>{$extravar_list[1]->name} :</th>
<td colspan="5">{$extravar_list[1]->getValueHTML()}</td>
</tr>
<tr>
<th>{$extravar_list[2]->name} :</th>
<td>{$extravar_list[2]->getValueHTML()}</td>
<th>{$extravar_list[3]->name} :</th>
<td colspan="3">{$extravar_list[3]->getValueHTML()}</td>
</tr>
</table>
<!--@end-->
그리고 화면에서 출력되는 형태를 이미지로 캡쳐했습니다.
어디서 무엇을 고쳐야 할지 알려주세요. 감사해요.
댓글 0
글쓴이 | 제목 | 최종 글 |
---|---|---|
XE | 공지 글 쓰기,삭제 운영방식 변경 공지 [16] | 2019.03.05 by 남기남 |
monozoom | 메뉴 작성후 나중에 순서를 변경할 순 없나요? [1] | 2009.10.21 by 백성찬 |
스팸사메 | 참신하게 썼습니다 . 답변좀 해주세요 .. [1] | 2009.10.21 by 백성찬 |
참붕어 | Administrator login 인이 안되는데요...? | |
김주현857 | 레이아웃을 편집을 하려면 어떻게 해야 하는지요. [2] | 2009.10.21 by 초등학생5학년 |
링폭 | 제로보드 xe 로그인 스킨 어떻게 추가하나요? | |
kity1221 | 마우스 대면 하위 메뉴 나오는 것좀 알려주세요 [1] | 2009.10.21 by 아리마 |
타키온2010 | EUC-KR 과 UTF-8 그리고 EUC-KR의 미래...... [1] | 2009.10.21 by 백성찬 |
최성태274 | 삭제권한에 관하여 [2] | 2009.10.21 by lattente |
張漢 | 업로드 이미지를 본문에 자동으로 나오게 하려면? | |
스팸사메 | 레이아웃메인에 게시판 링크 어떻게다나요 ..? [1] | 2009.10.21 by lattente |
신희2 | 흑흑 ㅠ 도와주세요. 이미지 테두리!! [1] | 2009.10.21 by lattente |
poro103 | 레이아웃을 만드려고 하는데,, [1] | 2009.10.21 by 휘즈 |
김종철737 | 메인페이지 삭제하고 새로 만들다 오류 | |
woonyoun | 언어변경해서 팝업으로 게시판 열기 | |
로만이글루 | 컨텐츠 인코딩 오류 | |
cafeon | 관리자님~ | |
펜트리트 | 첨부파일 관련 질문입니다. [1] | 2009.10.21 by 백성찬 |
찰리콘트롤 | 로그인폼 출력이 안됩니다. [1] | 2009.10.21 by e~세상쉼터 |
ekak | 로그인했을때 [1] | 2009.10.21 by e~세상쉼터 |
배미화 | 최신글 위젯 관련 질문..ㅠㅠ [1] | 2009.10.21 by e~세상쉼터 |