我正在尝试为我的页面创建一些样式,我希望它看起来基本上像这样:
我很好奇是否有任何方法可以让边界像这样重叠。我正在使用 Twitter Bootstrap,我的 HTML 现在看起来像这样:
<div class="container-fluid">
<div class="row-fluid">
<div class="span2">
<img src="/images/logo.png" alt="logo"><br><br>
<div class="well sidebar-nav">
<ul class="nav nav-list">
<li class="nav-header">Sub-Menu (this will only show for pages that need a sub-menu)</li>
<li class="active"><a href="#">Current</a></li>
<li><a href="#">Link</a></li>
<li><a href="#">Link</a></li>
<li><a href="#">Link</a></li>
</ul>
</div><!--/.well -->
</div>
<div class="span10">
<h1 style="text-align:center;">Interplanetary Reactions</h1>
<div class="center-me" style="border-top:5px solid white; border-bottom:5px solid white;">
</div>
</div>
<div class="center-me">
<img src="http://i.imgur.com/yeHzm.jpg" alt="graphic">
</div>
</div>
</div>
<footer style="border-top:5px solid white;">
<br>
<div class="row-fluid">
<div class="span4">
© Interplanetary Reactions 2012
</div>
<div class="span4">
<div class="fb-like" data-href="http://www.facebook.com/ InterplanetaryReactions" data-send="false" data-layout="button_count" data-width="450" data-show-faces="true"></div>
</div>
<div class="span4">
<a href="https://twitter.com/InterReactions" class="twitter-follow-button" data-show-count="false" data-lang="en">Follow @InterReactions</a>
</div>
</div>
</footer>
</div><!--/.fluid-container-->
我知道这不是很清楚,但我希望有人会有一些见解。