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


목록
번호 제목 이름 날짜 조회 추천
10973 의료/건강건강검진시 PET-CT 필요할까요? 16 LemonTree 21/02/06 5399 0
11829 기타이런거 밑에집에 항의해도 되나요? 9 414 21/07/03 5399 0
425 IT/컴퓨터css 질문입니다. 25 얼그레이 15/11/06 5398 0
14955 IT/컴퓨터스프레드시트에서 셀 데이터를 대조해서 다른 시트의 맞는 항목을 찾아오는 함수 2 조선전자오락단 23/06/22 5398 0
7923 IT/컴퓨터페이스북에서 문자가 왔는데 이게 뭘까요? 6 오리꽥 19/09/25 5397 0
8815 기타귀걸이를 귀찌로 바꾸고 싶은데 7 라싸 20/02/19 5397 0
8907 의료/건강불규칙적인 가슴 통증이 반복됩니다. 6 化神 20/03/04 5397 0
11766 의료/건강아세트아미노펜이랑 알콜 인터벌 문의 12 치킨마요 21/06/23 5397 0
9856 게임[민속놀이 스타] 정석 FD 6마린+1탱보다 빠른 4마린 1벌쳐 찌르기 대처법 ? 14 Groot 20/07/30 5396 0
13025 문화/예술jazzy한 rock이 있을까요?? 14 유아 22/02/25 5396 1
14453 의료/건강미세먼지 많은 날에 두통 생기는 분 계신가요? 7 보이차 23/02/07 5396 0
1327 게임고급 레스토랑에 돈 좀 썼는데요 19 리틀미 16/07/25 5395 1
5416 IT/컴퓨터마우스 중에 고급지면서도 작은 제품 있을까요? 15 보이차 18/09/09 5395 0
11784 기타제가 대학원 합격을 했는데요 문제가 생겼습니다 16 [익명] 21/06/26 5395 0
12313 문화/예술여성 겨울용 출퇴근 깔끔한 신발은 뭐가 좋을까요 11 INFJ 21/09/25 5395 0
5127 여행아랫글에 묻어서 부산 호텔 +애프터눈 티+관광 추천 여쭙읍니다 5 Meta 18/07/24 5394 0
7344 IT/컴퓨터저가 노트북 추천 부탁드립니다. 5 침묵의공처가 19/06/19 5394 0
9038 철학/종교먹물에 빠져들고 싶은데 하라리는 누구...? 8 legrand 20/03/22 5394 0
11363 여행광주 케익 맛있는 곳 추천 부탁드려요 (해결) 2 빈둥 21/04/16 5394 0
12731 연애아내 이직+크리스마스 선물로 무엇이 좋을까요? 6 [익명] 21/12/22 5394 0
13356 게임[WoW]현 시점에서 얼라 종족 해금 질문입니다. 3 물사조 22/05/11 5394 0
5239 기타 부산 해운대 숙박 추천 좀 부탁드립니다 8 발그레 아이네꼬 18/08/11 5393 0
9034 경제다들 2008년 금융위기 어떠셨나요? 12 알료사 20/03/21 5393 0
11236 법률임대료 인상 5% 제한 질문입니다. 4 불타는밀밭 21/03/24 5393 0
11446 가정/육아생강향 비누 추천 부탁드립니다 1 INFJ 21/04/28 5393 0
목록

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

댓글