초보 html 이랑 css 코딩한거좀 봐주세요 ㅠㅠ 왜이러는지....
동은
안녕하세요.
공부하고 있다가 막혀서 글올립니당 ㅠㅠ 뭐가 문젠지 봐주세요 ㅠ..
이게 이렇게 맞아야하는데..
-완성본-
코딩했는데 자꾸 이렇게 되요 ㅠㅠ...
메뉴도 중간에 와야하는데 위에 딱달라붙어있고 써치부분도 이상하고
밑에 컨텐츠들도.. 이거 어떻게 해야하나요;;;;
-html 이에요-
!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN
http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd
html xmlns=http://www.w3.org/1999/xhtml lang=en xml:lang=en
head
meta http-equiv=Content-Type content=text/html; charset=ISO-8859-1 /
titleMisia, Queen of Paris/title
link type=text/css rel=stylesheet href=misia.css /
/head
body
!--Logo--
p class=logoimg src=images/logo.jpg //p
!--Logo finish--
!--menubar--
div id=menubar
div id=menubar1
div class=menus
img src=images/menubar_menu1.gif /
img src=images/menubar_menu2.gif /
img src=images/menubar_menu3.gif /
img src=images/menubar_menu4.gif /
/div
div class=search
input type=text name=fullname /
img src=images/menubar_search.gif /
/div
/div
/div
!--menubar finish--
!--content1--
div id=content1
div id=content1_box
div class=sub_c1
span class=sub_titlemusic above all/spanbr /br /
span class=sub_contentMisia did not create anything,
but,through the people she met of the time, she became a muse, a partron and an
arbiter of taste for several decades. Born into a family of time,
she became a muse, a partron and an arbiter of taste for .../span
/div
div class=sub_c2
span class=sub_titlemusic above all/spanbr /br /
span class=sub_contentMisia did not create anything,
but,through the people she met of the time, she became a muse, a partron and an
arbiter of taste for several decades. Born into a family of time,
she became a muse, a partron and an arbiter of taste for .../span
/div
div class=sub_c3
span class=sub_titlemusic above all/spanbr /br /
span class=sub_contentMisia did not create anything,
but,through the people she met of the time, she became a muse, a partron and an
arbiter of taste for several decades. Born into a family of time,
she became a muse, a partron and an arbiter of taste for .../span
/div
/div
/div
!--content1 finish--
/body
/html
-CSS에요-
body {
background-color: #f6deb5;
background-image: url(images/background.jpg);
background-repeat: no-repeat;
background-position: top left;
font-family: Verdana, Georgia;
font-size: 11px;
margin: 0;
}
.logo {
margin: 80px 0px 23px 140px;
}
#menubar {
background: url(images/menubar_background.jpg);
height: 50px;
}
#menubar1 {
width: 800px;
}
.menus {
height: 24px;
margin-left: 140px;
}
.search {
margin-right: 0;
float: right;
}
#content1 {
height: 150px;
background-color: #a09176;
maring: 0px;
}
.sub_c1 {
width: 260px;
height: 130px;
background: #b8ad98;
margin-left: 140px;
padding: 5px;
}
.sub_c2 {
width: 260px;
height: 130px;
background: #b8ad98;
margin-left: 140px;
padding: 5px;
float: right;
}
.sub_c3 {
width: 260px;
height: 130px;
 sp;background: #b8ad98;
margin-left: 140px;
padding: 5px;
float: right;
}
.sub_title{ font-weight: bold; }
.sub_content { font-color: white; }
-
마음새
전제적으로 압축 파일을 올려주셔야 확인 가능 할듯 하네요...
-
울트라
답변 감사드립니다!!! ㅠㅠ
-
다흰
저도 부족하지만 그냥 지나치지 않고 말하자면 상위 태그에 float 지정이 안 되어 있는 거 같네요. 저는 저렇게 떨어지지 않게 하려고 같은 줄은 하나의 div로 감싸는 방법을 써요. 전체도 한 번 감싸고요.
번호 | 제 목 | 글쓴이 | 날짜 |
---|---|---|---|
2695934 | tr 속성값 (9) | 새 | 2025-05-25 |
2695905 | ASP로 개발됐을 때 css가 달라져요 ㅠㅠ (4) | 슬아라 | 2025-05-24 |
2695878 | form을 이용한 다른 페이지로 넘기는 방법을 알려주세요 (1) | 핫파랑 | 2025-05-24 |
2695844 | 저기 암호화 및 복호화 프로그램.. 만들어볼려는대 (2) | 한빛 | 2025-05-24 |
2695814 | [질문] PDA에서 애플릿이 가능한가요? (1) | 봄시내 | 2025-05-24 |
2695785 | 웹 설정 도와줄분 | 화이트캣 | 2025-05-23 |
2695730 | 갑자기 기억이 안나는데 accesskey 속성.. | 빛나라 | 2025-05-23 |
2695702 | [질문] Java 버전 차이에 의한 오류?!! (2) | 검사 | 2025-05-23 |
2695672 | 자바 임베디드 쪽으로 배우고 싶은데요..질문이요.. (1) | 뽀그리 | 2025-05-22 |
2695647 | 헉! 이클립스(v3.1)에서 발생되는 널포인트 익셉션? ;;; (3) | 아빠몬 | 2025-05-22 |
2695586 | IFRAME 캐싱 질문 | 봄나비 | 2025-05-22 |
2695498 | [질문]실행가능한 jar파일.. 정말 이해가 안가네요... ㅡㅜ;; | 터1프한렩 | 2025-05-21 |
2695468 | 자바랑 이클립스에서요.. | 스킬 | 2025-05-21 |
2695375 | Mysql 연동하는 자바 질문있습니다. | 아리솔 | 2025-05-20 |
2695319 | 파워포인트 파일을 저장할 수 있을까요? | 시윤 | 2025-05-19 |
2695289 | [질문]Tween 값의 정도를 알고 싶습니다. | 타마 | 2025-05-19 |
2695238 | c 와 c++의 시작 (10) | ChocoHoilc | 2025-05-18 |
2695215 | 탑메뉴의 repeat-x .배경이 두가지에요ㅠ ㅠ | 널위해 | 2025-05-18 |
2695187 | 자바스크립트와 자바의 import에 관해서 질문드려요 (1) | 무슬 | 2025-05-18 |
2695116 | 테마 문의 (해당 사이트와 같은 테마 혹은 플러그인) | Sweet | 2025-05-17 |