본문 바로가기

전체 글

(233)
CSS 18.Position ( static, fixed, relative, absolute 를 이용하여 엘리먼트를 화면에 배치하는 것을 조절 p.pos_fixed { position: fixed; top: 30px; right: 5px; } h2.pos_top { position: relative; top: -50px; } h2 { position: absolute; left: 100px; top: 150px; } img { position: absolute; left: 0px; top: 0px; z-index: -1; } All CSS Positioning PropertiesPropertyDescriptionValuesbottomSets the bottom margin edge for a positioned boxauto lengt..
CSS 17.Display (Display and Visibility) ※ 엘리먼트를 화면에 노출시키거나 숨길 때, 또는 블럭레벨엘리먼트를 인라인레벨로 바꿀 때 display속성을 사용 h1.hidden { visibility: hidden; } h1.hidden { display: none; } CSS 표시 - 블록 및 인라인 요소블록 요소는 사용 가능한 전체 폭을 차지, 그리고 앞뒤에 줄 바꿈이있는 요소이다.블록 요소의 예 :인라인 요소는 필요한만큼의 폭을 차지, 줄 바꿈을 강제하지 않습니다.인라인 요소의 예 : li { display: inline; } span { display: block; }
CSS 15.Padding ※ 배경색을 설정할 수 있다. Possible ValuesValueDescriptionlengthDefines a fixed padding (in pixels, pt, em, etc.)%Defines a padding in % of the containing element 가로 길이를 기준으로 설정 p { padding-top: 25px; padding-right: 50px; padding-bottom: 25px; padding-left: 50px; } The padding property can have from one to four values.padding: 25px 50px 75px 100px;top padding is 25pxright padding is 50pxbottom padding is ..
CSS 14.Margin (기준 엘리먼트와 이웃하는 엘리먼트 사이의 여백을 할당) ※ Background-color 설정을 할 수 없다.※ - 값을 가질 수 있다. p { margin-top: 100px; margin-bottom: 100px; margin-right: 150px; margin-left: 50px; } Possible ValuesValueDescriptionautoThe browser calculates a marginlengthSpecifies a margin in px, pt, cm, etc. Default value is 0px%Specifies a margin in percent of the width of the containing elementinheritSpecifies that the margin should be inherited from the par..
DIV @charset="UTF-8"; #container{ background-color:#F0F0F0; width:960px; margin:0 auto; padding:10px; }#header{ background-color:#908886; height:100px; }#content{ background-color:#F5F5F5; float:left; width:660px; height:400px; }#sideinfo{ background-color:#DCDAD9; float:right; width:300px; height:400px; }#footer{ background-color:#555555; clear:both; height:100px; }
PHP MANUAL http://docs.php.net/manual/kr/
session 함수정리 session_cache_expire — 현재 캐시 만료를 반환session_cache_limiter — 현재 캐시 한정을 얻거나 설정session_commit — 별칭: session_write_closesession_decode — 문자열에서 세션 데이터를 해독session_destroy — 세션에 등록된 모든 데이터 파괴session_encode — 현재 세션 데이터를 문자열로 인코드session_get_cookie_params — 세션 쿠키 인수를 얻습니다session_id — 현재 세션 id를 얻거나 설정session_is_registered — 전역 변수가 세션에 등록되었는지 확인session_module_name — 현재 세션 모듈을 얻거나 설정session_name — 현재 세션 이름을 얻..
CSS 13.Outline (border바깥부분에 outline을 설정하는 법)