내가 트위터 레이아웃을 중심으로하지 않습니다, 물론 그렇다고 .. 기본 테이블이 좀 ... 그것은 오프 구분 있어요 방식에, 그것은처럼 보이는주요 콘텐츠 사업부는
html {
-webkit-user-select: none;
text-shadow: 2px 2px 2px #000;
color: #fff;
font-smooth: always;
padding: 0;
width: 100%;
height: 100%;
background: url("./img/main_back.jpg");
background-size: cover;
background-attachment: fixed;
background-repeat: no-repeat;
}
body
{
height: 100%;
width: 100%;
}
.content_wrap {
position: relative;
top: 5px;
display: inline-table;
margin-right: auto;
margin-left: auto;
width: 90%;
height: 100%;
background-color: transparent !important;
}
.left_table {
overflow: hidden;
display: table-cell;
text-align: center;
width: 50%;
height: 100%;
padding-left: 5px;
padding-bottom: 20px;
}
.right_table {
display: table-cell;
text-align: center;
width: 20%;
height: 100%;
}
HTML5의 문서 유형 헤더 < - 왼쪽 떠 섹션 < - 바로 떠
섹션 < - 컨텐츠 랩 섹션 < - left_table 옆 < - right_table 바닥 글 < - 고정 위치, 하단 0px
마크 업이 켜져 있습니다. 나는 w3c 사이트에서 항상 확인합니다.
센터에 가져올 수 없으며 약 30-40 픽셀 정도 떨어져있어 누구나 아이디어가 있습니까?
이 아마도 당신이 의미
조언 : Google의 "2 열 CSS 레이아웃"을 검색하고 '인라인 표'또는 '표 셀'을 사용하지 마십시오. 그렇게하려고한다면 테이블을 사용할 수도 있습니다. – Nicole
마크 업하시기 바랍니다! – Jawad
어떤 이유로 html을 추가 할 수는 없지만 내 메인 포스트를 편집하고 가장 좋은 설명을했습니다 ... – Crustified