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


목록
번호 제목 이름 날짜 조회 추천
421 연애빼빼로데이 어떻게들 보내시나요? 16 나쁜피 15/11/05 4007 0
422 의료/건강불안장애가 있는것 같은데요... 4 거대한다람쥐 15/11/05 2749 0
1282 기타한국은 그나마 소드맛스타 척 급에 가까운 여성 무장들 없나요? 9 klaus 16/07/12 3005 0
1283 문화/예술뮤지컬? 클래식 음악 중에서 5 얼그레이 16/07/12 3897 0
423 기타크리스마스 느낌의 남자 노래 5 헤칼트 15/11/05 2998 0
726 연애적당한 한식당 추천부탁드립니다. 10 쿠바왕 16/01/15 4086 0
727 의료/건강관계 다다음날부터 설사, 발열 증상이 나타나는데요.. 10 세이밥누님 16/01/15 7879 0
425 IT/컴퓨터css 질문입니다. 25 얼그레이 15/11/06 3731 0
426 의료/건강MRI 관련 질문입니다. 9 April_fool 15/11/06 6985 0
427 기타이 중에서 어떤 제품이 좋을까요??.jpg 2 김치찌개 15/11/06 2929 0
428 기타안녕하세요. 노래 질문입니다. 1 레이드 15/11/06 2596 0
429 의료/건강지방육종이 어떤 병인가요? 11 천무덕 15/11/06 5674 0
430 IT/컴퓨터공유기 질문 드립니다. 7 솔지은 15/11/07 4206 0
431 기타이 제품 원래 이런가요??.jpg 3 김치찌개 15/11/07 3531 0
432 의료/건강이건 녹용이 아니더냐. 14 눈부심 15/11/07 3280 0
433 의료/건강인데놀 질문입니다. 12 아이유 15/11/08 9422 0
434 진로헤드 헌터에 관해...... 9 캡틴아메리카 15/11/08 5004 0
435 여행군산에 갑니다 8 jsclub 15/11/08 3416 0
436 의료/건강비중격만곡증에 대하여.. 11 범준 15/11/08 3397 0
437 가정/육아혹시 <엄마가 뭐길래> 보셨어요? 10 눈부심 15/11/09 4753 0
438 의료/건강아래 녹용 관련해서 물어볼게요. 5 JokeFriend 15/11/10 4015 0
439 연애[연애] 군인의 연애. 도와주세요. 11 솔구름 15/11/10 4206 0
2490 연애소개팅 갔다가 18분 지각해서 바로 차였네요 8 mathematicgirl 17/03/12 8266 0
2491 여행베트남 Tỉnh Quảng Ngãi 지역 은 자유여행 어렵나요?> mathematicgirl 17/03/12 2633 0
2492 연애취준 중인데 자꾸 전 애인 생각이 나요... ㅠ___ㅠ 11 안개꽃 17/03/12 4542 0
목록

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

댓글