- 질문 게시판입니다.
Date 15/11/06 09:12:47
Name   얼그레이
File #1   rabbit.png (75.1 KB), Download : 42
File #2   markup.png (100.0 KB), Download : 41
Subject   css 질문입니다.




css 작업중인데 막혀서 질문드립니다.

이 css 작업을 어떻게 해야 토끼가 앞으로 오나요?
일단 항목으로 작업해서 float를 띄우긴 했는데.. 그냥 이미지를 하나로 자르는게 더 좋을까요?

<ul class="animal">
                                <li class="rabit" src="earth/rabbit.animal" alt="토끼" />
                                <li class="carrot" src="earth/carrot.food" alt="당근" />
</ul>

밑에 문서 첨부합니다.
<!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" xml:lang="ko">
<head>
        <meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
        <title>rabbit and landscape</title>
        <style type="text/css">
                body{width:580px;height:450px;}
                #picture {width:573px;height:432px;border:2px solid #000;overflow:hidden;}
                #picutre #sky .animal{float:right;width:180px;height:150px;}
                #picture #earth{background:url(earth/field.earth)no-repeat 0 0;height:240px;position:relative;}
                #picture #earth .aniaml{position:absolute;left:208px;bottom:44px;}
                #picture #earth .aniaml li{float:left;}
                #picture #earth .plant .left{position:absolute;left:50px;bottom:84px;}
                #picture #earth .plant .right{position:absolute;right:20px;bottom:84px;float:left;overflow:hidden;width:165px;height:210px;}
                #picture #earth .plant .right .tree{float:left;width:20px;}
                #picture #earth .water{position:absolute;bottom:0;left:0;}
                #picture #earth .plant{position:absolute;bottom:0;right:0;}
                #picture #earth .plant li{float:left;letter-spacing:-5px;}
                #copyright{display:none;}
        </style>
</head>
<body>
        <div id="picture">
                <div id="sky">
                        <h1><img src="sky/red_sun.light" alt="sun" /></h1>
                        <div class="animal">
                                <img src="bird/five_birds.animal" alt="독수리오형제" />
                        </div>
                </div>
                <div id="earth">
                        <ul class="animal">
                                <li class="rabit" src="earth/rabbit.animal" alt="토끼" />
                                <li class="carrot" src="earth/carrot.food" alt="당근" />
                        </ul>
                        <div class="plant">
                                <div class="left">
                                        <img src="tree/tree1.plant" alt="나무" />
                                </div>
                                <div class="right">
                                        <img src="tree/two_tree.plant" width=165 height=210 alt="나무" />
                                        <img class="tree" src="tree/trees.plant" alt="나무" />
                                </div>
                        </div>
                        <div class="water">
                                <img src="water/river.water" alt="강" />
                        </div>
                        <ul class="plant">
                                <li><img src="tree/grass1.plant" alt="풀1" /></li>
                                <li><img src="tree/grass2.plant" alt="풀2" /></li>
                                <li><img src="tree/grass3.plant" alt="풀3" /></li>
                        </ul>
                </div>
                <div id="copyright">
                        <p>얼그레이</p>
                </div>
        </div>
</body>
</html>



0


목록
번호 제목 이름 날짜 조회 추천
455 법률이거 제가 쓴 글 모욕죄 같은 거 성립해서 망할 수 있나요? 4 삼공파일 15/11/12 5458 0
10169 법률소득 과소신고는 문제가 안되나요? 3 [익명] 20/09/24 5458 0
10472 기타착한 아이 증후군 극복 방법 있을까요? 13 [익명] 20/11/19 5458 0
10737 IT/컴퓨터무료 온라인 플젝 관리방법? 2 행운 20/12/29 5458 0
425 IT/컴퓨터css 질문입니다. 25 얼그레이 15/11/06 5459 0
1646 의료/건강이마가 간질간질한 이 느낌은 왜 생길까요? 1 단디쎄리라 16/10/13 5459 0
11766 의료/건강아세트아미노펜이랑 알콜 인터벌 문의 12 치킨마요 21/06/23 5459 0
13564 IT/컴퓨터알뜰폰 무약정 통신사 개통한지 5일만에 바꿔도 될까요? 10 DogSound-_-* 22/07/01 5459 0
14047 기타방금 홍차넷 접속이 안되던데... 3 큐리스 22/10/25 5459 0
14063 법률8촌 이내 친족 결혼의 헌법재판소 판례 관련 질문 6 Cascade 22/10/27 5459 0
13901 기타직장에서 제공하는 연구비를 써야합니다. 35 [익명] 22/09/22 5460 0
1859 연애어떻게 흐지부지 만드나요... 30 헤칼트 16/12/03 5461 0
6324 IT/컴퓨터컴알못의 노트북(LG그램17인치) 구입 질문입니다. 14 오리꽥 19/01/17 5461 0
10301 진로꼬꼬마 신혼부부 주거플랜 설정 도와주세요ㅠㅠ 14 [익명] 20/10/21 5461 0
12722 기타크리스마스 선물 질문입니다 19 거소 21/12/20 5461 1
726 연애적당한 한식당 추천부탁드립니다. 10 쿠바왕 16/01/15 5462 0
556 기타'추락하다'와 같은 말이 뭐가 있을까요? 13 기기묘묘 15/12/02 5462 0
7758 여행[제주도] 마원 같은 말고기 식당 4 세이지 19/08/28 5462 0
13933 기타애플워치 질문입니다 8 김치찌개 22/09/30 5462 0
359 기타개명을 하려고 합니다 7 줄리아 15/10/17 5463 0
6405 과학일상 생활의 숫자 흐름에 패턴이 없는 것을 증명할 수 있나요? 10 흥차넷 19/01/28 5463 0
7427 의료/건강극도로 추운 곳에서 매운 음식을 섭취하는 경우 버티는데 도움이 될까요 4 흥차넷 19/07/04 5463 0
7496 IT/컴퓨터최근 크롬 사용시 런타임에러가 발생합니다. 라이스티스 19/07/19 5463 0
7533 체육/스포츠[부산] 춤을 추고 싶습니다. 7 세인트 19/07/25 5463 2
11820 IT/컴퓨터이직 고민 중입니다. 21 [익명] 21/07/02 5463 0
목록

+ : 최근 2시간내에 달린 댓글
+ : 최근 4시간내에 달린 댓글