background-image 가운데 정렬 문제!!
아이
!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
head
meta http-equiv=content-type content=text/html; charset=utf-8 /
title무제 문서/title
link type=text/css rel=stylesheet href=../css/top_style.css /
/head
body
div id=top_1
table width=960 cellpadding=0 cellspacing=0 border=1 align=center
tr
td width=52 rowspan=2a href=../../zipfiles/[home][logo2]/a/td
td width=63 /td
td width=101a href=../../zipfiles/[home] img src=../../리뉴얼 소스/새 폴더/top_home.gif alt=홈으로 name=top_home border=0 id=top_home //a/td
td width=45td width=87[logintypez]/td
td width=160a href=../../zipfiles/[basket]img src=../../리뉴얼 소스/새 폴더/top_menu_main_cart.gif alt=장바구니 name=top_cart border=0 id=top_cart //a/td
td width=112a href=../../zipfiles/[order] img src=../../리뉴얼 소스/order.gif alt=주문조회 name=top_order border=0 id=top_order //a/td
td width=88a href=../../zipfiles/[mypage]img src=../../리뉴얼 소스/top_m_member.gif alt=마이페이지 name=top_mypage border=0 id=top_mypage //a/td
td width=121a href=../../zipfiles/[board]img src=../../리뉴얼 소스/새 폴더/top_menu_main_community.gif alt=게시판 name=top_board border=0 id=top_board //a/td
td width=67a href=../../zipfiles/[email]img src=../../리뉴얼 소스/새 폴더/top_email.gif border=0 alt=이메일 //a/td
/tr
tr
td /td
td /td
tdimg src=../../리뉴얼 소스/새 폴더/new.gif alt= width=45 height=47 //td
tdimg src=../../리뉴얼 소스/새 폴더/best.gif alt= width=45 height=47 //td
tdimg src=../../리뉴얼 소스/새 폴더/faq.gif alt= width=45 height=47 //td
tdinput name=search3 size=10 onkeydown=topcheckkey_search() style=width:125; height:18px; border-width:1; border-left:none; border-right:none; border-top:none; border-bottom-style:solid; border-bottom-color:#f3f5ec //td
tda href=../../zipfiles/[search]img src=../../리뉴얼 소스/top_search.gif border=0 //a/td
tdinput name=search2 size=10 onkeydown=topcheckkey_search() style=width:125; height:18px; border-width:1; border-left:none; border-right:none; border-top:none; border-bottom-style:solid; border-bottom-color:#f3f5ec //td
/tr
/table
/div
div id=top_2
table width=960 cellpadding=0 cellspacing=0 border=1 align=center
tr
td /td
td /td
td /td
/tr
/table
/div
------------------------------------------------------------------------------------------------------------
body {text-align:center; }
#top_1 { background-image:url(http://withskin.negagea.kr/500n500/ba_image.gif);
}
#top_2 {
background-image:url(http://withskin.negagea.kr/500n500/top_sub.gif);
background-position:center;
background-position:50%50%;
width:960px;
height:140px;
text-align:center;;
-------------------------------------------------------------------------------------------------------------
윗쪽이 본문이고요 ~아래가 css인데요 #top_2의 백그라운드 이미지가 가운데 정렬이 되지를 않아요 ㅠㅠ
인터넷에서 나오는 해결방법 다 써봤는데도 왼쪽정렬로만 나오고요~
고수님들 재능기부 좀 해주세요!!!ㅠ