VictorJK

가운데 정렬이 왜 안먹을까요 ?ㅜ

· 2010-10-01 (금) 21:06:12 · 2089 · 4
<div align="center">
    <table cellpadding="0" cellspacing="0" width="100%" height="194">
        <tr>
            <td width="100" height="46" align="center" valign="top">
                <table width="970" border="0" cellpadding="0" cellspacing="0" align="center">
                    <tr>
                        <td width="138">
                            <p align="left"><img id="top_head_01" src="images/top_head_01.jpg" width="138" height="26" alt="" /></p>
                        </td>
                        <td width="592">
                            <p align="left"><img id="top_head_02" src="images/top_head_02.jpg" width="98" height="26" alt="" /></p>
                        </td>
                        <td width="86">
                            <p align="left"><img id="top_head_04" src="images/top_head_04.jpg" width="86" height="26" alt="" /></p>
                        </td>
                        <td width="77">
                            <p align="left"><img id="top_head_05" src="images/top_head_05.jpg" width="76" height="26" alt="" /></p>
                        </td>
                        <td width="74">
                            <p align="left"><img id="top_head_06" src="images/top_head_06.jpg" width="73" height="26" alt="" /></p>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td width="100" height="81" align="center" valign="top">
                <center>가운데 정렬이 안되용</center>
            </td>
        </tr>
        <tr>
            <td width="100" height="67" align="center" valign="middle">
                <p align="center">가운데정렬이 안되용</p>
            </td>
        </tr>
    </table>
</div>

에디터 화면에서는 가운데정렬이 되는데,
업로드 후 보거나, 에디터에서 미리보기로 보면 좌측정렬되어있네요 ;;
이부분만 가운데 정렬되면 되는뎅 ㅠㅠ
|

댓글 4개

2번째 줄 "<table cellpadding="0" cellspacing="0" width="100%" height="194">"이거 꼭 100%여야 하나요?
네네 ㅠ 화면에 꽉차야합니다.
아 그리고 일현님께서 보내주신 레이아웃 하나씩 다 뜯어보고 있는데,
제가 멍청해서 모르겠습니다!ㅜ 머리가 깨져서 붙였는데 또 깨질것 같습니다 ㅜ

그리고 가운데정렬문제는 방금 해결했네요 ㅎㅎ
글쿤여! 저는 두줄 읽다가 졸려서 놀러 다녔습니다!ㅎㅎㅎㅎㅎ
2010-10-02 (토) 01:06:21
width="100"
100입니까요?
100%입니까요?

아마도 width="100%" 가 문제일거 같습니다.
댓글을 작성하시려면 로그인이 필요합니다.

자유게시판

202,925건
+
제목 글쓴이 날짜 조회
10-10-01 조회 2,090
10-10-01 조회 2,993
10-10-01 조회 3,074
10-10-01 조회 2,791
10-10-01 조회 2,084
10-10-01 조회 2,830
10-10-01 조회 2,164
10-10-01 조회 1,888
10-10-01 조회 2,589
10-10-01 조회 1,908
10-10-01 조회 2,539
10-10-01 조회 3,118
10-10-01 조회 1,920
10-10-01 조회 1,756
10-10-01 조회 2,256
10-10-01 조회 2,237
10-10-01 조회 2,111
10-10-01 조회 1,503
10-10-01 조회 1,757
10-10-01 조회 1,846