블로그 이미지
Magic_kit
study 관련자료를 한곳으로 자기 개발 목적으로 재태크 재무 관리 목적으로 일상생활의 팁을 공유 하기 위하여 블로그를 개설 하였습니다.

calendar

1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30

Category

Recent Post

Recent Comment

Archive

2009. 7. 28. 15:25 .Net Project/CSS 2.0
반응형

g
Element
배경색이나 무늬를 지정할 있다.

nbackground-color : 이름 / RGB
nbackground-image : url(“URL”) / none
nbackground-repeat : repeat / repeat-x / repeat-y / no-repeat
nbackground-position : top / bottom / left / right / center
nbackground-attachment : fixed / scroll



<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
                            "
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>15.배경관련스타일</title>
</head>

<body>
 <!--배경색 Yellow로 잡아준다 -->
 <span style="background-color:Yellow;"></span><br /> 
    <textarea id="TextArea1" cols="25" rows="28"
      style="
                background-color:Yellow;
                background-image:url('./images/태연.jpg');
각각의 repeat-x, position:top, attachment:scroll 의 속성을 각각 설정
                background-repeat:repeat-x;
                background-position:top bottom;
                background-attachment:scroll;

                "
    </textarea>
</body>
</html>

반응형

'.Net Project > CSS 2.0' 카테고리의 다른 글

17장 LinkStyle  (0) 2009.07.28
16장 CusorStyle  (0) 2009.07.28
14장 테두리 외곽선 스타일  (0) 2009.07.28
13장 여백관련Style  (0) 2009.07.28
12장 TextStyle  (0) 2009.07.28
posted by Magic_kit