2011-12-16 6 views
0

사이트에서 작업 중입니다. 큰 이미지 (900px 너비)가 컨테이너 전체를 덮고 싶습니다. 지금 당장에는 내가 수정할 수없는 권리가있다. 제발 도와주세요.패딩을 수정할 수 없습니다.

<!DOCTYPE html> 
<html id="index-page" class="canvas canvastext no-touch draganddrop rgba borderradius boxshadow textshadow opacity fontface video audio localstorage mobile-768 mozilla wordpress-section w-900 lt-960 js gradient rgba opacity textshadow multiplebgs boxshadow borderimage borderradius no-cssreflections csstransforms csstransitions fontface not-ie domloaded" lang="en-US" dir="ltr"> 
<head> 
<body id="home" class="home blog"> 
<div id="wrap" style=""> 
<header role="banner"> 
<section id="site-logo"> 
<a href="http://ackmaster.com/wordpress"> 
<img width="1200px" alt="Ackmaster.com" src="http://ackmaster.com/wordpress/wp-content/uploads/2011/12/WebSiteMain2.jpg"> 
</a> 
</section> 
<section id="nav-wrap"> 
</header> 
<div id="content" role="main"> 
<footer style="min-height: 0; padding-top: 0;" role="contentinfo"> 
</div> 
<script> 
<div id="fancybox-tmp"></div> 
<div id="fancybox-loading"> 
<div id="fancybox-overlay"></div> 
<div id="fancybox-wrap"> 
</body> 
</html> 

불을 지르고 사용 관련 CSS는 다음과 같습니다

body, button, input, select, textarea { 
    color: #8E8E8E; 
} 
dark.css (line 7) 
body { 
    background-image: url("bg-base.jpg"); 
} 
dark.css (line 6) 
body { 
    min-width: 480px; 
} 
mobile.css (line 6) 
body { 
    background: url("../images/bg-base.jpg") repeat scroll 0 0 transparent; 
} 
layout.css (line 7) 
body, button, input, select, textarea { 
    color: #3F3F3F; 
    font-family: "Helvetica Neue",Arial,sans-serif; 
} 
boilerplate.css (line 37) 
body { 
    font-size: 13px; 
    line-height: 1.6; 
    margin: 0; 
} 
boilerplate.css (line 35) 
Inherited fromhtml#index-page.canvas 
html { 
    font-size: 100%; 
} 
boilerplate.css (line 33) 

답변

1

스타일 시트 "layout.css"는 #wrap 인 div의 경우 padding: 0 30;입니다. 이것이 이미지가 앉아있는 div입니다. 패딩은 이미지의 왼쪽과 오른쪽에 영향을줍니다. 왼쪽 패딩을 유지하고 오른쪽을 제거하려면 padding-left: 30px;으로 설정하십시오.

+0

이것은 의도적으로 보입니까? 아마도 그는 # site-logo img {width : 100 %} 만 만들면됩니다. 또한 랩은 마진을 누락하는 것으로 보입니다 : 풀 사이즈의 자동. –

0
<body id="home" class="home blog" style="margin: 0px;"> 

당신은 CSS를 사용하여 0 픽셀 신체의 여백을 변경해야합니다.

+0

이미 0px. 내 편집보기 –

관련 문제