我在現場工作。我想要寬大的圖像(寬度爲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>
使用Firebug相關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)
這看起來雖然故意的?也許他需要製作#site-logo img {width:100%}。此外,包裝似乎缺少邊距:全尺寸自動。 – 2011-12-16 17:45:59