Devlopment

    class vs. id

    클래스 .(마침표) class 문서에서 주로 사용되는 서식을 클래스명으로 지정하여 문서에 통일감을 준다. 등 여러 개의 태그에 적용 가능하다. 아이디 #(hash) id 스크립트 언어 (자바스크립트)로 아이디에 지정된 스타일이나 행동 양식을 변경. Dynamic HTML 구현 시 주로 사용 등 하나의 태그에만 적용하여 사용한다.

    id selector & Selectors can be contextual

    id selector #green {color: green} p#para1 { text-align: center; color: red } p#exampleID1 { background-color: white; } p#exampleID2 { text-transform: uppercase; } Good Morning Hello This paragraph has an ID name of "exampleID1" and has a white CSS defined background This paragraph has an ID name of "exampleID2" and has had its text transformed to uppercase letters. Selectors can be contextual Th..

    Grouping & Add Styles to Elements with Particular Attributes

    Grouping h1,h2,h3,h4,h5,h6 { color: green } Add Styles to Elements with Particular Attributes input[type="text"] {background-color: blue}

    Pseudo-Class Selector & CSS 글꼴 꾸밈관련 스타일

    - Pseudo-Class Selector - A:link 보통 때의 링크 텍스트의 스타일 A:visited 이미 방문한 적이 있는 링크의 스타일 A:hover 마우스가 링크 위를 스쳐 지날 때의 색깔 A:active 마우스를 클릭하여 실제로 해당 링크로 페이지가 옮겨지는 동안의 색깔 Example) a:link { text-decoration:underline; color:#8600E4 } a:visited { text-decoration:underline; color:#800080 } a:hover { text-decoration:underline; color:#FF0000 } a:active { text-decoration:underline; color:#0000FF } - CSS 글꼴 꾸밈관련 스..

    css link

    1. 2. 3. 4. this block is red. [Inline Style]

    주민등록번호 검사

    function check_jumin() { form = window.document.site_info; //주민등록 번호 체크 var pin1 = form.jumin1.value; var pin2 = form.jumin2.value; if (pin1 == '') { alert('주민등록번호 앞자리가 없습니다.'); form.jumin1.focus(); form.jumin1.select(); return true; } if (pin2 == '') { alert('주민등록번호 뒷자리가 없습니다.'); form.jumin2.focus(); form.jumin2.select(); return true; } var i3=0; for (i=0;i

    HTML Event

    - Window Events Only valid in body and frameset elements. - onload script Script to be run when a document loads onunload script Script to be run when a document unloads - Form Element Events Only valid in form elements - onchange script Script to be run when the element changes onsubmit script Script to be run when the form is submitted onreset script Script to be run when the form is reset ons..

    Core & Keyboard Attribute

    class class_nameor style_name The class of the element id id_name A unique id for the element style style_definition An inline style definition title tooltip_text A text to display in a tool tip accesskey character Sets a keyboard shortcut to access an element tabindex number Sets the tab order of an element

    META 태그

    페이지 이동 PHP : echo (""); 페이지 컨텐츠 타입

    [Ruby on Rails] 레일스 플러그인

    ruby script/plugin install scaffolding svn://errtheblog.com/svn/plugins/classic_pagination svn://errtheblog.com/svn/plugins/will_paginate svn://errtheblog.com/svn/plugins/classic_pagination