我试图在我的网站Finegra.in 上将一个放在另一个之上。这是该网站现在的屏幕截图:
我只希望“访问我们的 kickstarter 项目”img 就在这里:
这是html和样式表:
<div id="page" class="hfeed">
<header id="branding" role="banner">
<!--
<nav id="access" role="navigation">
<h3 class="assistive-text">Main menu</h3>
<div class="skip-link"><a class="assistive-text" href="#content" title="Skip to primary content">Skip to primary content</a></div>
<div class="skip-link"><a class="assistive-text" href="#secondary" title="Skip to secondary content">Skip to secondary content</a></div>
<div class="menu"><ul><li class="current_page_item"><a href="http://www.finegra.in/" title="Home">Home</a></li></ul></div>
</nav><!~~ #access ~~>
-->
<hgroup>
<div>
<a href="http://www.finegra.in"><img id="logo" alt="fine grain Logo" src="http://www.finegra.in/wp-content/uploads/2012/04/fineGRAINlogoGOOD-WEB.png">
</a>
<img id="headerimg" alt="The Sheffield Case" src="http://www.finegra.in/wp-content/uploads/2012/04/headerimg2.jpg">
<a href="http://www.kickstarter.com/projects/finegrain/17408941?token=364cb635"><img id="branding" alt="The Sheffield Case" src="http://www.finegra.in/wp-content/uploads/2012/04/checkOurProject.png">
</a>
</div>
<div id="site-generator">
FineGrain LLC Copyright 2012. All Rights Reserved
</div>
</hgroup>
</header><!-- #branding -->
样式.css:
#branding {
border-top: 0px solid #BBBBBB;
padding-bottom: 10px;
position: relative;
z-index: 9999;
background: none repeat scroll 0 0 #DADAD2;
}
#headerimg {
width: 30% !important;
width: 100% !important;
}
#branding img {
margin-bottom: 20px;
width: auto;
}
.one-column #page {
max-width: 1500px;
}
.one-column #content {
margin: 0;
width: auto;
}