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.