수다닷컴

  • 해외여행
    • 괌
    • 태국
    • 유럽
    • 일본
    • 필리핀
    • 미국
    • 중국
    • 기타여행
    • 싱가폴
  • 건강
    • 다이어트
    • 당뇨
    • 헬스
    • 건강음식
    • 건강기타
  • 컴퓨터
    • 프로그램 개발일반
    • C언어
    • 비주얼베이직
  • 결혼생활
    • 출산/육아
    • 결혼준비
    • 엄마이야기방
  • 일상생활
    • 면접
    • 취업
    • 진로선택
  • 교육
    • 교육일반
    • 아이교육
    • 토익
    • 해외연수
    • 영어
  • 취미생활
    • 음악
    • 자전거
    • 수영
    • 바이크
    • 축구
  • 기타
    • 강아지
    • 제주도여행
    • 국내여행
    • 기타일상
    • 애플
    • 휴대폰관련
  • 프로그램 개발일반
  • C언어
  • 비주얼베이직

div input 크기조절때문에 돌아버리겠네요..

텐시

2023.04.01

웹퍼블리셔로 입사해서..

아무것도 모르는데 기초공부하고있습니다..

뭐..산업기능요원입니다..

그래서 네이버 메일폼을 만들고 있는데요..

인풋박스의 길이를 %나 px값을 주고 해상도에 따라서 가변길이로 두고싶습니다.

그래서 별 난리 부르스를 다 추고 있는데.. 도저히 이게 뭐.. 될 가능성이 보이질않습니다..

제발 좀 도와주세요 ㅠ_ㅠ..

밑에화면 처럼.. width를 auto로 주면 짤막해지고.. 퍼센테이지를 주면.. 밑으로 내려가버리고.. 돌아버리겠어요..main부분 소스입니다.

div class=Main영역 style= position:relative; border:1px solid #b4b4b4; width:auto; height:auto; margin-left:270.5px;
div class=Main_Head style= width:auto; height:54px; border-bottom:1px solid #e5e5e5 ;
div class=head_1 style=font-weight:bold; font-size:18px; width:auto; height:36px; padding:18px;0px;18px;30px;메일쓰기/div/div
div class=Main_Head2 style= width:auto; height:38px; padding:0px;0px;0px;4px; border-top: 1px solid gray; border-bottom: 1px solid gray; padding-top:11px;
button class=보내기 style=margin-left:20px; font-size:14px;background-color:white; border-bottom:1px solid #b4b4b4; border-left:1px solid #b4b4b4; height:27px;보내기/button
button class=미리보기 style= font-size:14px; background-color:white; border-bottom:1px solid #b4b4b4; border-left:1px solid #b4b4b4; height:27px;미리보기/button
button class=저장하기 style= font-size:14px; background-color:white; border-bottom:1px solid #b4b4b4; border-left:1px solid #b4b4b4; height:27px;저장하기/button/div
div class=Main vertical-align:middle; style=width:auto; height:auto; padding:8px;10px;10px;15px;
trth style=padding:2px;0px;0px;0px; margin:0px; text-align:left; font-size:10px;
span class=label style= font-size:14px;width:61px; vertical-align:middle; font-weight:bold; height:30px;받는사람/span
input type=checkbox; class=ck style=margin-left:10px; vertical-align:middle; padding:0px;0px;0px;0px; font-size:12px; width:13px; height:13px;/input
span class=label2 style=font-size:12px; width:61px; font-weight:normal; 내게쓰기/span/th
td colspan=2 style=font-size:12px; padding:4px;0px;3px;0px; vertical-align:top;

input type=text; style= margin-left:30px; width:*; height:20px;/input
button class=주소록 style=width:auto; height:27px; margin-left:15px; font-size:14px; vertical-align:middle; background-color:white; border:1px solid #b4b4b4;주소록/button
input type=checkbox; class=개인 style=vertical-align:middle; font-size:12px; width:13px; height:13px;/input
span class=개인별 style= font-size:12px; width:60px; font-weight:bold;개인별/span
input type=checkbox; class=주소 style=vertical-align:middle; font-size:12px; width:13px; height:13px;/input
span class=주소록 style= font-size:12px; width:60px; font-weight:bold;주소록에 추가/span
/td
/tr
/div
div class=main2 style= position:relative; width:auto; height:auto; padding:8px; 10px; 10px; 15px;
tr
span class=label style=font-size:14px;width:61px; font-weight:bold; height:30px;받는사람/span
input type=checkbox; class=ck style= margin-left:10px; vertical-align:middle; padding:0px;0px;0px;0px; font-size:12px; width:13px; height:13px;/input
span class=label2 style= font-size:12px; width:61px; vertical-align:middle; font-weight:normal; 내게쓰기/span

div class=감싸기 style=position:relative; height:auto; ; text-align:left; font-size:10px;
&nbnbsp; input type=text style= margin-left:32px; width:80px; height:20px;/input
button class=주소록 style=float:right; width:auto; height:27px; margin-right:30px; margin-left:15px; font-size:14px;vertical-align:middle; background-color:white; border:1px solid #b4b4b4;주소록/button

/div
/tr
/div

div class=main3 style=vertical-align:middle; width:auto; height:auto; padding:8px;10px;10px;15px;
trth style=padding:2px;0px;0px;0px; margin:0px; text-align:left; font-size:10px;
span class=label style= font-size:14px;width:61px; font-weight:bold; height:30px;제목/span
input type=checkbox; class=ck style=margin-left:40px;vertical-align:middle; padding:0px;0px;0px;0px; font-size:12px; width:13px; height:13px;/input
span class=label2 style=font-size:12px; width:61px; font-weight:normal; vertical-align:middle; 중요/span/th
td colspan=2 style=font-size:12px; padding:4px;0px;3px;0px; vertical-align:top;

input type=text; style= margin-left:54px; width:*; height:20px;/input
/td
/tr

/div
div class=main4 style=margin:0px 30px 10px 0px;vertical-align:middle; width:auto; height:auto; padding:8px; 10px; 10px; 15px;
trth style=padding:2px;0px;0px;0px; margin:0px; text-align:left; font-size:10px;
span calss=label style= font-size:14px; width:61px; font-weight:bold; height:30px;파일첨부/span
input type=checkbox; class=file style=margin-left:10px; vertical-alingn:middle; padding:0px;0px;0px;0px; font-size12px; width:13px; height:13px;/input
button class=mypc style=width: auto; height:27px; margin-left:84px; font-size:14px; vertical-align:middle; background-color:white; border:1px solid #b4b4b4;내PC/button
button class=Ndr style=width: auto; height:27px; font-size:14px; vertical-align:middle; background-color:white; border:1px solid #b4b4b4;N드라이브/button
span class=삭제 style=vertical-align:middle; font-size:12px; font-weight:bold; height:27px;삭제/span
span class=vertical-align:middle;divbar2l/span
span class=일반첨부 style=vertical-align:middle; font-size:12px; font-weight:bold; heigt:27px;일반첨부로 전환/span
div class=wirte style=border: 1px solid #b4b4b4; font-size:12px; position:relative; margin-top:12px; padding:0px;0px;0px;0px; height:383px; width:100%;

textarea name=입력창 rows=auto cols=90 style=font-size:14px; width:99.5%; height:380px; overflow:hidden /textarea /div

/div
div class=bot style= padding:10px 15px 15px 15px; border: 1px solid #b4b4b4; height:20px; width:auto;
button class=보내기 style=width: auto; height:27px; font-size:14px; vertical-align:middle; background-color:white; border:1px solid #b4b4b4;보내기/button
button class=미리보기 style=width: auto; height:27px; font-size:14px; vertical-align:middle; background-color:white; border:1px solid #b4b4b4;미리보기/button
button class=저장하기 style=width: auto; height:27px; font-size:14px; vertical-align:middle; background-color:white; border:1px solid #b4b4b4;저장하기/button
/div
/div

신청하기





COMMENT

댓글을 입력해주세요. 비속어와 욕설은 삼가해주세요.

  • 배꽃

    쪽지 보내드렸습니다.

  • 크나

    답변감사합니다..허나 ㅠ_ㅠ.. 다른것과 관련되어.. 다시 쪽지보내드렸습니다.. 확인해주세요

  • 맨삶이

    쪽지 보내드렸습니다. IE다 잘 돌아갑니다 안깨지고 파폭 크롬 전부....

  • 봄시내

    해상도에 따라서 가변으로 두고 값을 지정하고싶은데.. %를 주거나 px값을 원하는크기로 넣으면..
    저렇게 input 박스가 밑으로 내려와버립니다.. 정말 돌아버리겠어요 ㅠㅠㅠㅠㅠ

  • 텐시

    그래도 안되요.. 그것도 해봤어요 ㅠㅠ

  • 노랑이

    min-width, max-width 를 적절히 활용해보세요~

번호 제 목 글쓴이 날짜
2699380 메뉴가 계단식으로 나타나요.. ㅠ.ㅠ (5) 스릉흔다 2025-06-25
2699354 영문 웹폰트 관련 질문입니다!!! (1) 치킨마루 2025-06-25
2699329 윈도우 미디어 플레이어 URL 질문!!! (1) 제철 2025-06-25
2699296 동영상 배경 질문드려요!!!!!!!!!!!!!! 핫파랑 2025-06-24
2699214 position:fixed 에 대한 질문입니다.. (7) 사이 2025-06-24
2699183 제이쿼리 이미지 슬라이드 위치값 수정 초엘 2025-06-23
2699153 테마[ADORABLE]에서 페이지생성시 하위페이지는 2개밖에 안되나요? 흰여울 2025-06-23
2699129 네이버 블로그 또는 사이트의 글을 불러오기 갤원 2025-06-23
2699070 탭메뉴처럼 셀렉트 박스를 이용해서 내용을 출력할 수 있는 방법이 있을까요. (3) 큰꽃늘 2025-06-22
2699016 인터넷이 안되는 환경에서 validator설치방법 (3) 은송이 2025-06-22
2698988 대체 C++ 6.0 exe 아이콘은 어떻게 넣는건가요? 외국녀 2025-06-22
2698960 음성파일을 embed로 작업했는데..웹 표준코딩으로 변경하려면 어떻게 해야하나요? (1) 잎새 2025-06-21
2698932 메뉴목록 풍선창 만들기 html (2) 하늘이 2025-06-21
2698901 http://www.zeitgeistbot.com/ 이 사이트처럼 움직이는 효과를 무엇이라고 하나요? 누림 2025-06-21
2698876 table width값 크로스브라우징에 대한 문의 (2) 볼수록매력 2025-06-21
2698849 c언어 질문. (3) 아름나 2025-06-20
2698823 setInterval 이벤트 제거 하려면... 가온길 2025-06-20
2698796 이 오류를 이해를 못하겠어요 Addicted 2025-06-20
2698712 IF 문 이 계속 오류가 나요 (2) 옆집오빠야 2025-06-19
2698687 이미지를 클릭하면 그 이미지를 다운받게해주는 방법 질문요 ^^ (미해결) (5) 해지개 2025-06-19
<<  이전  1 2 3 4 5 6 7 8 9 10  다음  >>

수다닷컴 | 여러분과 함께하는 수다토크 커뮤니티 수다닷컴에 오신것을 환영합니다.
사업자등록번호 : 117-07-92748 상호 : 진달래여행사 대표자 : 명현재 서울시 강서구 방화동 890번지 푸르지오 107동 306호
copyright 2011 게시글 삭제 및 기타 문의 : clairacademy@naver.com