묻고답하기
제 레이아웃 css인데요...
2009.09.30 18:39
@charset "utf-8";
/*
NHN UIT Lab. WebStandardization Team (http://html.nhndesign.com/)
Jeong, Chan Myeong 070601~070630
*/
/* White Skin - Start */
#selectLang { margin:0; padding:0; }
#gnb { margin:0; padding:0; }
#lnb { margin:0; padding:0; }
#lnb ul { margin:0; padding:0; }
/* Site Layout - Body Wrap */
body { background:#ffffff; background:url(../images/white/bg.jpg)}
#bodyWrap { position:relative; width:803px; margin:0 auto; padding:0 0 0 0; margin-bottom:30px;}
/* Site Layout - Header */
#header { position:relative; width:803px; height:220px; z-index:99; background:url(../images/top_bg.gif) no-repeat; }
#header h1 { position:absolute; top:20px; left:0px;}
#loginBox { position:absolute; float:left; left:610px; }
#language { position:absolute; top:12px; right:19px; z-index:100;}
#language strong { color:#5c5c5c; font:.75em Tahoma; margin-right:3px;}
#language a img { vertical-align:-5px;}
#language ul { position:absolute; top:15px; right:0px; display:none; border:1px solid #d9d9d9; background:#ffffff;}
#language ul li { list-style:none; }
#language ul li a { display:block; width:61px; padding:3px 8px; font:9px Tahoma; color:#5c5c5c; text-decoration:none;}
#language ul li a:hover { background:#f4f4f4;}
#it_search_form { position:absolute; top:30px; right:15px;}
#it_search_form .input { border:1px solid #d9d9d9; height:17px; width:120px; color:#888888; font-size:.9em;}
#it_search_form .submit_button { width:1px; height:1px; visibility:hidden; }
/* Site Layout - menu */
#mainmenu { position:absolute; width:803px; height:30px; top:187px; }
#mainmenuUl { position:absolute; left:0px; margin:0px; padding:0px; }
#mainmenuUl li { float:left; list-style:none; }
#mainmenuUl li a { width:100px; height:30px; overflow:hidden; color:white; text-align:center; line-height:30px; vertical-align:middle; text-decoration:none; background:transparent; display:block; }
#mainmenuUl li a:hover { color:#999999; background:transparent; }
#mainmenu ol { position:absolute; top:30px; left:0px; margin:0px; padding:0px; float:left; display:none; }
#mainmenu ol li { list-style:none; }
#mainmenu ol li a { width:100px; height:30px; overflow:hidden; color:white; text-align:center; line-height:30px; vertical-align:middle; text-decoration:none; background:#000000; display:block; }
#mainmenu ol li a:hover { color:white; background:#999999; }
#isSearch { position:relative; top:5px; left:3px; width:151px; text-align:left;}
#isSearch .searchOrder { display:none;}
#isSearch .checked { position:absolute; left:0; top:0; text-align:left; display:block; padding:5px 0 0 5px; width:64px; height:14px; background:url(../images/white/bgSearchTerm.gif) no-repeat; font:11px "?뗭?", Dotum, "援대┝", Gulim, AppleGothic, Sans-serif; color:#5c5c5c; line-height:normal;}
#isSearch ul { display:none; position:absolute; left:0; top:18px; padding:2px 0 3px 0; text-align:left; border:1px solid #b2b2b2; background:#ffffff; overflow:hidden;}
#isSearch ul li { width:67px; height:15px; list-style:none;}
#isSearch ul li input { display:none;}
#isSearch ul li label { display:block; padding:4px 0 0 4px; width:63px; height:15px; font:11px "?뗭?", Dotum, "援대┝", Gulim, AppleGothic, Sans-serif; color:#5c5c5c;}
#isSearch ul li label.on { background:#ededed; }
#isSearch ul li label:hover,
#isSearch ul li label:focus { background:#ededed;}
#isSearch .inputText { vertical-align:middle; position:relative; top:0; _top:-1px; padding:3px 3px 1px 3px; width:101px; height:13px; color:#000000; border:1px solid #ccc; background-color:#FFFFFF; }
#isSearch .inputText:hover,
#isSearch .inputText:focus { background-color:#FFFFFF; }
*:first-child+html #isSearch .inputText { position:relative; top:-1px;}
#isSearch .submit { vertical-align:middle; _position:relative; _top:-1px;}
*:first-child+html #isSearch .submit { position:relative; top:-1px;}
/* Site Layout - Content Body */
#contentBody { position:absolute; float:left; width:793px; padding-top:15px; padding-bottom:30px; overflow:hidden; background:#fff; border:3px solid #ddd; }
/* Site Layout - Column Left */
#columnLeft { position:relative; width:0px; float:left; padding-left:10px;}
#columnLeft .mask { width:0px; height:5px; background:#ffffff; display:block;}
#lnb { width:180px; margin-top:20px; }
#lnb li { list-style:none; text-align:left; }
#lnb li a { padding:5px 25px 5px 13px; width:142px; display:block; border-right:1px dashed #ccc; border-left:1px dashed #ccc; background:url(../images/white/bgLnbOff.gif) repeat-x; color:#3e3e3e; position:relative; z-index:99; text-decoration:none; font-family:친구체;}
#lnb li a:hover,
#lnb li a:focus { color:cornflowerblue; border-left:1px dashed #ccc; border-right:1px dashed #ccc; }
#lnb li.on a { color:cornflowerblue; border-left:1px dashed #ccc; border-right:1px dashed #ccc; }
#lnb li.on a:hover,
#lnb li.on a:focus { color:cornflowerblue; }
#lnb li ul { display:block; position:relative; width:184px; padding:0 3px; position:relative; border-top:1px solid #ffffff; overflow:hidden;}
#lnb li.on ul { display:block;}
#lnb li ul li { padding:0; border-top:1px solid #f2f2f2; position:relative; top:-1px;}
#lnb li ul li a { padding:6px 5px 6px 10px; width:169px; color:#818181 !important; border:none; background:none !important; border:none !important;}
#lnb li ul li a:hover,
#lnb li ul li a:focus { font-weight:normal !important; color:#de4332 !important;}
#lnb li.on ul li.on a { color:#ff1a00 !important; font-weight:bold !important; background:url(../images/white/bulletLnb.gif) no-repeat 175px center !important;}
/* Site Layout - Column Right */
#columnRight { width:793px; float:right; padding-right:10px; overflow:hidden;}
#visualArea { width:793px; height:100px; background:#f5f5f5; margin-bottom:2.5em; position:relative; left:-15px; margin-right:-15px;}
#content { width:100%; overflow:hidden;}
/* Site Layout - Footer */
#footer { margin:0; text-align:center; padding:10px; clear:both; background:#fff; }
#footer li { display:inline; padding:10px; background:url(../images/white/vrType1.gif) no-repeat left center;}
#footer li.first-child { background:none;}
#footer li a { color:#777; font:11px; "돋움", Dotum, "굴림", Gulim, AppleGothic, Sans-serif; text-decoration:none;}
#footer li address { display:inline; color:#999999; font:.9em "돋움", Dotum, "굴림", Gulim, AppleGothic, Sans-serif; }
/* White Skin - End */
밀라떼님의 레이아웃을 수정해서 사용중인데요.
홈페이지주소는 http://present-box.kr/ 거든요.
근데 상단이미지하고 검색부분하고 사이에 공백이 있거든요 그걸 없애고 싶어요.
그리고 원래는 해상도 1024x768에서 가로 스크롤이 없었는데, 얼마전에 수정하다가 뭘잘못건드렷는지 가로 스크롤이 생겼어요.
(페이지의 제일아래로 내려가면 스크롤이 보여요)
이 두문제를 해결하고싶은데... 어디를 고치면될까요.
그외에도 쓸데없는 부분이나 잘못된 부분이 있으면 좀 가르쳐주세요.
부탁드립니다 ㅠㅠ