- 질문 게시판입니다.
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


목록
번호 제목 이름 날짜 조회 추천
공지 질문 게시판 이용 규정 11 토비 15/06/19 27982 4
17393 연애알림창의 음악재생알림이 사라짐 1 로비서 26/06/16 136 0
17392 여행미국에서 한국에 갈 일이 생겼습니다. 폰은 어떻게 할까요? 4 Velma Kelly 26/06/15 473 0
17391 IT/컴퓨터티빙 정보유출 관련 3 치즈케이크 26/06/11 539 0
17390 진로집 밖에서 비대면 면접을 볼만한 곳 어디가 있을까요? 8 아재 26/06/09 659 0
17389 가정/육아김치 통 혹은 냉장고 냄새 빼기 8 은하꾸리 26/06/08 495 0
17388 여행제주시에서 저녁에 혼자 자유롭게 이틀정도 시간이 됩니다. 4 [익명] 26/06/07 576 0
17387 여행서울역에 출력할 곳이 있읍니까 11 먹이 26/06/07 538 0
17386 의료/건강30개월 아이 중이염 10 the 26/06/05 556 0
17385 여행부여에서 아이들과 무난하게 먹을만한 식당 추천부탁드립니다. 14 흰긴수염고래 26/06/05 546 0
17384 홍차넷★도와주세요 8 당근매니아 26/06/05 735 1
17383 기타에어컨 구매 가이드 있을까요? 6 영원한초보 26/06/04 500 0
17382 의료/건강자살시도 의심되는 한국에 있는 타인 신고 방법 (해외) 5 소요 26/06/03 1014 0
17381 IT/컴퓨터AI 구독을 어떤걸로 해야할지 모르겠어요... 10 dongri 26/06/02 795 0
17380 의료/건강생산사춘 소비기한 2026-04-22 마시면 안될까요? 6 영원한초보 26/05/30 737 0
17379 기타이런 바디로션이 있을까요? 하얀달걀 26/05/30 539 0
17378 경제지금부터 하락장을 대비한다고 하면 가장 메이저한건 무엇일까요? 27 전투용밀감 26/05/29 1501 0
17377 기타면도크림 추천 부탁드립니다. 4 Picard 26/05/28 490 0
17375 여행제주도 리조트 추천 부탁드립니다. 9 Darwin4078 26/05/27 634 0
17374 철학/종교불교는 왜 부처님오신날을 기념합니까..? 7 매뉴물있뉴 26/05/23 1134 0
17373 기타칫솔 질문입니다 6 김치찌개 26/05/22 607 0
17372 법률회의의 일반적인 의결 정족수 23 GogoGo 26/05/21 888 0
17371 IT/컴퓨터한성키보드 키캡 교체 질문 15 RiseNShine 26/05/21 615 0
17370 IT/컴퓨터[해결] 짤줍 - 이미지 경로가 올바르지 않습니다? 7 Velma Kelly 26/05/21 428 0
17369 IT/컴퓨터갤럭시탭 중고를 사려는데 어떤게 좋을까요 9 DogSound-_-* 26/05/20 556 0
목록

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