Hi,
If you float the content then the negative margin will take effect and the content will be in the right position. You will then need to move the yellow banner to inside #content and change the positioning.
e.g.
Code:
#content {
height: 100%;
min-height: 100%;
background: #e7ebee url(../../images/jetix_page_elements/content_bg.gif) top right no-repeat;
margin-top: -190px;
margin-left: 30px;
border: 1px solid white;
width: 717px;
z-index: 1;
float:left;
position:relative;
}
#tariefkaart {
position: absolute;
top: 10px;
right: 20px;
background-color: transparent;
z-index: 3;
width: 426px;
height: 70px;
}
Code:
<li><a id="pressLink" href="pages/press.php" title="Bekijk het persgedeelte">Press</a></li>
</ul>
</div>
<!-- end #navigation -->
<div id="content">
<div id="tariefkaart"> <a href="#tariefkaart" title="Download nu de tariefkaart"> Download nu de tariefkaart voor het 3e kwartaal 2006! </a> </div> <!-- end #tariefkaart -->
<div id="items">
<div class="item">
<h2>Totally Spies voor 3de seizoen bij Jetix!</h2>
Be careful with 100% height as it rarely works like you expect (see faq on 100% height). The simplest solution is merely to repeat a blue image down the left side of a container that holds the left and right content. In that way the blue column will always reach the bottom and always extend.
Similar to the right hand column in this example.
http://www.pmob.co.uk/temp/2colblog.htm
You would just set a container inside your #content and apply a repeating gif down the left side of that container.( Make sure that the background color is transparent so that your #content image shows through.)
All your content goes inside that new container and will extend either column as required (make sure floats are cleared).
Bookmarks