답변 4개 / 댓글 7개
이제 알게 되었습니다.
홈페이지에 백그라운드 이미지를 넣으려다가 전체 화면에 맞게 넣고 싶은데 잘 안되서 고생을 했다.
css에 아래의 내용을 적당히 수정 삽입하면 됩니다.
css에 아래의 내용을 적당히 수정 삽입하면 됩니다.
커뮤니티는 default.css에
쇼핑몰은 default.shop.css를 삽입
Copy
html { background: url(images.jpg) no-repeat center center fixed; -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover; }
답변에 대한 댓글 5개
이렇게 올렸어요.
-------
@charset "utf-8";
/* SIR 지운아빠 */
/* 초기화 */
html {overflow-y:scroll}
body {background:url('http://jeong6612.cafe24.com/images/bg_1.jpg ') no-repeat center top;margin:0;padding:0;font-size:0.75em;font-family:dotum}
html, h1, h2, h3, h4, h5, h6, form, fieldset, img {margin:0;padding:0;border:0}
h1, h2, h3, h4, h5, h6 {font-size:1em;font-family:dotum}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {display:block}
-----------------
아래는 생략햇어요.
-------
@charset "utf-8";
/* SIR 지운아빠 */
/* 초기화 */
html {overflow-y:scroll}
body {background:url('http://jeong6612.cafe24.com/images/bg_1.jpg ') no-repeat center top;margin:0;padding:0;font-size:0.75em;font-family:dotum}
html, h1, h2, h3, h4, h5, h6, form, fieldset, img {margin:0;padding:0;border:0}
h1, h2, h3, h4, h5, h6 {font-size:1em;font-family:dotum}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {display:block}
-----------------
아래는 생략햇어요.
답변을 작성하려면 로그인이 필요합니다.
페이지별로 배경 다르게 하려면 각각의 해드에 상단에 배경을 넣는게 맞지요.
5로 버전업되고 달라진게 많아 힘드네요