width/height 속성

>> 제일 기본적인 속성이라고 할 수 있습니다. 보통 div/table객체에 쓰이며 가로/세로 크기를 조정합니다.


Border 속성

>> 기본적인 속성 중 하나이고. div/table객체에 쓰이며 테두리를 설정합니다. 테두리를 제거하려면 border:none속성을 사용하시면 됩니다.

대표적 3가지 속성들입니다.



Background 속성

>> 어떤 객체에 대해서 배경색이나 그림을 넣을 수 있습니다. 보통 body나 div/table 객체에 적용하는 속성입니다.

background:url(thumbnail.jpg) top right no-repeat #f0f0f0

background:url(thumbnail.jpg) right bottom no-repeat #f0f0f0

background:url(thumbnail.jpg) repeat-x #f0f0f0

background:url(thumbnail.jpg) repeat-y #f0f0f0

background:url(thumbnail.jpg) repeat #f0f0f0




댓글을 달아 주세요

  1. BlogIcon Ari.es 2009/02/16 12:12
     addr - mod/del - rep

    음 뭐랄까 뭔소리진지... (컴맹)

  2. BlogIcon 케이건 2009/02/16 16:41
     addr - mod/del - rep

    영어를 기반으로 한 새로운 외국어를 배운다는 느낌으로 배우면 될 듯 (음?)

  3. BlogIcon 影猫 2009/02/17 14:57
     addr - mod/del - rep

    할 말을 잃어버렸습니..(퍽)

  4. BlogIcon 빽짱구 2009/03/18 23:10
     addr - mod/del - rep

    background:#fff url(http://이미지) no-repeat;}
    끝에 ; <--- 세미콜론으로 끝맺음 하는건 잊지 맙시다.^^

  5. BlogIcon 별군 2009/05/16 00:45
     addr - mod/del - rep

    background:url(thumbnail.jpg) repeat #f0f0f0;
    background 속성값의 순서도 있답니다 ^^
    색상 경로 반복 위치값
    backgroudn:#000 url(thumbnail.jpg) repeat left top;
    보통 div/table에 쓰인다기엔;;;;
    뭔가 국한적인 느낌이 드네요 :)

  6. BlogIcon goldenbug 2010/02/03 07:04
     addr - mod/del - rep

    한동안 CSS 수정을 안 했더니 잊혀져가고 있어요. ㅜㅜ

< 1 ... 416 417 418 419 420 421 422 423 424 ... 832 > Top