묻고답하기
page_full_width" class="col-xs-12" |cond="$__Context->page_full_width">
여백이 안없어집니다.
2013.10.03 23:02
<style type="text/css" >
body { margin: 0; padding: 0; }
#background { position: relative; min-width: 1024px; margin: 0 auto; }
#top { position: relative; width: 1024px; height: 100px; margin: 0 auto; }
#content { position: relative; width: 100%; height: 620px; background-color: #000; }
#footer { position: relative; width: 1024px; height: 50px; margin: 0 auto; }
font { font-family:arial; }
</style>
스타일 시트인데요. margin: 0; padding: 0; 을 바디에 집어넣엇는데 여백이 안없어지네요..
topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0
근데 이걸로는 지워지네요..
뭐가 문제인가요?
이걸로 사용하세요.
/* common */
body,p,h1,h2,h3,h4,h5,h6,ul,ol,li,dl,dt,dd,table,th,td,form,fieldset,legend,input,textarea,button,select{margin:0;padding:0}
body,input,textarea,select,button,table{font-family:'돋움',dotum,applegothic,sans-serif;font-size:12px;color:#555;outline:none}
input,select{vertical-align:top}
img,fieldset{border:0;vertical-align:top}
ul,ol{list-style:none}
em,address{font-style:normal}
table,th,td{border:0 none;font-weight:normal}
button{margin:0;padding:0;border:0;background:none}
.chk{position:relative;width:13px;height:13px;margin:-2px 0 2px;padding:0;vertical-align:middle}
.blind{position:absolute;top:0;left:0;width:0;height:0;font-size:0;line-height:0;visibility:hidden;overflow:hidden}
a{color:#555;text-decoration:none}
a:hover,a:active,a:focus{color:#f26522;text-decoration:underline}