I'm working on a webpage that has 3 div
s. The first one, labeled as "A," is positioned at the top of the screen, while the second one, labeled as "B," is centered on the screen.
My goal is to always position the third div
, labeled as "C," according to the position of div
"B" since this is a responsive page.
This page is built using Twitter Bootstrap.
<div class="container-fluid">
<div class="row-fluid section" id="section-home">
<div class="row-fluid">
<div class="span12">
<p class="text-center" id="contact"><a href="#">A</a></p>
</div>
<div class="span12" id="support">
C
</div>
<div class="row-fluid">
<div class="span12 text-center" id="logo">
<nav id="mainNav">
<ul>
<a href="#">1</a>
<a href="#">2</a>
<a href="#">3</a>
</ul>
</nav>
</div>
</div>
</div>
</div>
<div class="row-fluid section" id="section-cars">
<div class="span12"></div>
</div>
<div class="row-fluid section" id="section-motorcycles">
<div class="span12"></div>
</div>
<div class="row-fluid section" id="section-boats">
<div class="span12"></div>
</div>
<div class="row-fluid section" id="section-contact">
<div class="span12"></div>
</div>
</div>
Could anyone provide guidance on how to achieve this?