본문 바로가기
새폴더

스타일쉬트(css)

by 11pm 2016. 6. 3.
두갭니다. 둘중 하나만 복사하셔서 메모장에 붙여넣기 한후 저장할때
이름.css로 저장하면 됩니다.

예) style.css


html문서에 불러올때는 head사이에 <link rel="stylesheet" href="css.css" type="text/css">











-----------------------------------------------------------------
-----------------------------------------------------------------


<style type='text/css'>
<!--
    a:link    { color:#C40623;text-decoration:none }
    a:visited { color:#C40623;text-decoration:none }
    a:active  { color:#990033;text-decoration:none }
    a:hover   { color:#990033;text-decoration:none }
    body,td   { color:#C40623;font-size:9pt;font-family:돋움,tahoma }
    body      { background-attachment: fixed; background-image: url(img/bg.jpg); background-repeat: no-repeat; background-position: center center }
    select,input,form,textarea,option { font-size:9pt }
body {
scrollbar-face-color: #000000;
scrollbar-shadow-color: #000000;
scrollbar-highlight-color: #000000;
scrollbar-3dlight-color: #660000;
scrollbar-darkshadow-color: #000000;
scrollbar-track-color: #660000;
scrollbar-arrow-color: #cccccc;
}
//-->
</style>





-----------------------------------------------------------------
-----------------------------------------------------------------





A:link {
        COLOR: #000000; TEXT-DECORATION: none
}
A:visited {
        COLOR: #000000; TEXT-DECORATION: none
}
A:active {
        COLOR: #000000; TEXT-DECORATION: none
}
A:hover {
        COLOR: #006666; TEXT-DECORATION: none
}
BODY {
        FONT-SIZE: 9pt; COLOR: #000000; FONT-FAMILY: 돋움,tahoma
}
TD {
        FONT-SIZE: 9pt; COLOR: #000000; FONT-FAMILY: 돋움,tahoma
}
SELECT {
        FONT-SIZE: 9pt
}
INPUT {
        FONT-SIZE: 9pt
}
FORM {
        FONT-SIZE: 9pt
}
TEXTAREA {
        FONT-SIZE: 9pt
}
OPTION {
        FONT-SIZE: 9pt
}
BODY {
        SCROLLBAR-FACE-COLOR: #ffffff; SCROLLBAR-HIGHLIGHT-COLOR: #ffffff; SCROLLBAR-SHADOW-COLOR: #ffffff; SCROLLBAR-3DLIGHT-COLOR: #000000; SCROLLBAR-ARROW-COLOR: #000000; SCROLLBAR-TRACK-COLOR: #ffffff; SCROLLBAR-DARKSHADOW-COLOR: #000000
}


-----------------------------------------------------------------
-----------------------------------------------------------------