- 질문 게시판입니다.
Date 15/11/06 09:12:47
Name   얼그레이
File #1   rabbit.png (75.1 KB), Download : 28
File #2   markup.png (100.0 KB), Download : 29
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


목록
번호 제목 이름 날짜 조회 추천
공지 질문 게시판 이용 규정 11 토비 15/06/19 26836 4
17212 기타안에 털 들어가있는 방한화 안전하고 편안한지요...? 1 홍당무 26/01/29 165 0
17211 기타더글로우 갈까요 말까요 4 골든햄스 26/01/28 460 0
17210 IT/컴퓨터모니터와 멀티탭의 일반적인 수명? 이 궁금합니다. 14 + K-이안 브레머 26/01/28 440 0
17209 가정/육아여권사진을 셀프로 찍어서 온라인으로 신청하려고 하는데요. 혹시 요령이 있을까요? 10 문샤넬남편 26/01/26 635 0
17208 의료/건강오늘 강냉이 빼러갑니다 2 DogSound-_-* 26/01/26 328 0
17207 기타가방을 사고싶은데 너무 비싸서 뭘 사야할지 모르겠어요... 17 dongri 26/01/25 572 0
17206 진로나이에 비해 너무 어리다는 생각이 듭니다 18 JaneJ 26/01/25 841 0
17204 가정/육아처가에 다니는 게 스트레스입니다 20 [익명] 26/01/23 1067 0
17203 기타지름병이 왔습니다. 아이템 추천해주십시오 22 쉬군 26/01/22 615 0
17202 문화/예술똑딱이 카메라 추천 부탁드립니다 8 Mandarin 26/01/22 315 1
17201 기타병원 질문입니다 1 김치찌개 26/01/21 282 0
17200 경제단독주택 매물 볼 수 있는 곳이 있을까요? 7 루루얍 26/01/19 675 0
17199 문화/예술유럽/독일식 비즈니스 문화를 알려주는 책/리소스? 4 열한시육분 26/01/18 650 0
17198 여행중국 골프여행 여행사 추천 해주세요 유니브로 26/01/17 281 0
17197 경제한국 한정 테슬라가 왤케 인기가 많죠? 28 whenyouinRome... 26/01/17 1054 0
17196 게임게임 추천 좀 부탁드려요 어둠달골짜기 26/01/16 422 0
17195 의료/건강60대 여성의 불면증 치료 문의. 6 [익명] 26/01/15 682 0
17194 기타어떤 차를 사야할까요? 16 nothing 26/01/15 577 0
17193 IT/컴퓨터제 2의 인생을 위해 AI 프롬프트 공부를 좀 해보고 싶은데 어떤 자료를 좀 찾아보면 좋을까요...? 9 Clair Obscur 26/01/15 656 0
17192 문화/예술클래식 연주회 티켓은 어디서 양도가능할까요? 4 구바 26/01/14 435 0
17191 기타Windows 10 질문입니다 1 김치찌개 26/01/14 268 0
17190 경제단 하나의 신용카드만 쓴다면 뭐가 좋을까요? 7 두부곰 26/01/14 508 0
17189 체육/스포츠오늘 자전거 도로 상태 질문 6 트린 26/01/14 364 0
17188 과학이 새는 무슨 새인가요 2 9 에밀 26/01/14 422 0
목록

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

댓글