Hi
so the layout is like this:
<div style="width: 100%;" class="container">
<div class="col1" style="width:30%;float:left;">
column 1
</div>
<div class="col2" style="width:70%;float:left">
column 2
</div>
</div>
I want to make div.col1
a different color, so for this I'm using a vertically repeating background image on div.container
. The problem is that this container is fluid and I don't know how to position the image.
I tried something like this, but it doesn't work when you resize the browser window:
.container{background: transparent url(images/bg.png) repeat-y -70% top;
Are there any ways to do this?