웹 표준 css 를 이용한 컨트롤

Posted 02 12, 2009 20:13, Filed under: Language/WebStandards

사용자 삽입 이미지










<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<HEAD>
  <TITLE> New Document </TITLE>
  <META NAME="Generator" CONTENT="EditPlus">
  <META NAME="Author" CONTENT="">
  <META NAME="Keywords" CONTENT="">
  <META NAME="Description" CONTENT="">

<style>

/* css 에서의 참조 경로 # 을 이용. 예) 태그명#id명 */
body{
        text-align: center;
}

/* td 의 id 인 td1 의 속성을 설정한다 */
td#td1{
       width: 350px;
       height: 100px;
}

/* div태그의 아이디중 header 의 속성을 설정한다 */
div#header{
       width: 100%;
       margin-right:auto;
       margin-left:auto;
}

div#container{
       width: 100%;
margin-right:auto;
       margin-left:auto;
}

div#content{
       float: right;
       width: 30%;
}
div#sidebar{
       float: left;
       width: 30%;
}

div#footer{
       width: 100%;
       clear: both;
       margin-right:auto;
       margin-left:auto;
}

</style>
</HEAD>
<BODY>
  <table border="1">
         <tr>
            <td id="td1">
              <div id="header">header(위)</div>
              <div id="container">
              <div id="content">right(오른쪽)</div>
              <div id="sidebar">left(왼쪽)</div>
              </div>
              <div id="footer">footer(아래)</div>
            </td>
       </tr>
  </table>
</BODY>
</HTML>
02 12, 2009 20:13 02 12, 2009 20:13

Trackback URL : http://develop.sunshiny.co.kr/trackback/139

Leave a comment

« Previous : 1 : ... 274 : 275 : 276 : 277 : 278 : 279 : 280 : 281 : 282 : ... 381 : Next »

Recent Posts

  1. Oracle - 바인드 변수에 대하여(테스트)
  2. Oracle - 디폴트 롤, DBA, CONNECT,...
  3. Oracle - 권한 및 롤 관리
  4. Oracle - SQL*PLUS의 SYSDBA 접근 제어
  5. Oracle - PFILE, SPFILE 에 관하여

Recent Comments

  1. 네 답글 고맙습니다. 좋은 한주 보... sunshiny 05 14,
  2. 좋은 정보 잘 살펴보고 갑니다. ememoho 05 12,
  3. 네. 고맙습니다^^ 행복한 한해 보... sunshiny 01 16,
  4. sunshiny님. 안녕하세요... 올려 주... yihans 01 16,
  5. 답글 주셔서 고맙습니다^^ 소스 복... sunshiny 01 11,

Recent Trackbacks

  1. 윈도우 cmd 명령어 팁 월풍도원(月風道院) - Delight on th... %M
  2. 파일 압축 Like RadioHead %M
  3. Mysql - mysql 설치후 Character set... 멀고 가까움이 다르기 때문 %M

Calendar

«   05 2012   »
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31    

Bookmarks

  1. 위키피디아
  2. MysqlKorea
  3. Oracle All Documentation
  4. 엑셈
  5. 오라클 클럽
  6. 네이버개발자센터
  7. API - Java
  8. API - Spring
  9. Java Community
  10. Reference - Spring
  11. 스프링사용자
  12. 자바소스
  13. 자바지기
  14. Ready System
  15. Solaris Freeware
  16. Linux-Site
  17. RedHat Korea
  18. 윈디하나의 솔라나라

Site Stats

TOTAL 245406 HIT
TODAY 112 HIT
YESTERDAY 139 HIT