본문 바로가기

my_lesson325

CSS Position attribute[static, relative, absolute, fixed] Position attribute[static, relative, absolute, fixed] [Source] Position attribute[static, relative, absolute, fixed] [Source] 11 position:static 초기값으로 위치를 지정하지 않을 때와 같다. 앞에서 설정된 position을 무시할 때 사용되기도 한다. top, bottom, left, right 속성값이 적용되지 않는다. static1 static2 static3 position:relative 위치 계산을 할 때 static의 원래 위치부터 계산한다. top, bottom, left, right 속성값을 지정할 수 있으며 위치를 같이 설정할 수도 있다. static1 relative2 rel.. 2015. 3. 22.
CSS font attribute font attribute 글꼴 스타일을 각각 지정하기 p { font-style:italic; normal, italic, oblique font-variant: small-caps; normal, small-caps font-weight:bold; bold, 100~900, bolder, lighter font-size:17px; px, pt, %, em font-family:arial, "Times New Roman",sans; serif, sans-serif } 글꼴 전체스타일을 한번에 지정하기 p { font: italic small-caps bold 17px arial, "Times New Roman",sans } 2015. 3. 22.
HTML Table & Display table Table and Display table How to use Table caption tagdescriptionEtc thtable head 의 약자로 표의 제목을 쓰는 역할기본값은 굵은 글씨체에 중앙정렬 trtable row 의 약자로 가로줄을 만드는 역할기본값은 보통 글씨체에 왼쪽정렬 tdtable data 의 약자로 셀을 만드는 역할기본값은 보통 글씨체에 왼쪽정렬 colspancolumn span 의 약자로 셀(가로줄)을 합치는 개수를 지정 rowspanrow span 의 약자로 셀(세로줄)을 합치는 개수를 지정 border테이블 경계선 굵기를 지정 width너비를 지정 height높이를 지정 cellpadding셀과 경계선 사이의 여백지정 cellspacing셀과 셀 사이의 여백 align셀의 .. 2015. 3. 22.
HTML Display attribute & Visibility attribute Display attribute[inline,block,none] Visibility attribute [visible,hidden,collapse] How to use Display attribute 상속여부(Whether inheritance) : 상속안됨(Not inheritance) display: inline 기본값(default)으로, 요소(element)를 inline 요소처럼 표시합니다. 따라서 앞뒤로 줄바꿈 되지 않습니다. display: block 요소를 block 요소처럼 표시합니다. 따라서 앞뒤로 줄바꿈이 됩니다. display: none 박스가 생성되지 않습니다. 따라서 공간을 차지하지도 않습니다. display: inline-block 요소는 inline인데 내부는 block처럼.. 2015. 3. 22.
Radio button for lesson 라디오 버튼을 이용한 객관식 문제 만들기 01.내 이름이 뭐게? 현수황 황현수 화년수 현쑤 2015. 3. 13.
MySQL DB 생성/조회/삭제 [mysql] MySQL DB 생성/조회/삭제 root(관리자 모드 SQL Login)mysql -hlocalhost -u****** -p****** User database 생성CREATE DATABASE dbjoon CHARACTER SET utf8 COLLATE utf8_general_ci;생성확인show databases;나갔다가 다시 진입 확인하기exit데이터배이스 사용하기use dbjoonUser 의 테이블 생성하기CREATE TABLE topic(my_t 라는 테이블 생성 하는데> id int(11) NOT NULL AUTO_INCREMENT,아이디는 int자료형인데 11자리까지이며 반드시 입력해야하며 자동증가방식이다> title varchar(255) NOT NULL,타이틀은 varchar.. 2014. 12. 29.