Hi,
I'll probably get told of for mentioning the site for an example, so I won't.
All our customers websites have a sidebar with an ad in it (free web hosting - we need some way to pay for the servers
).
We also offer an online website builder which is very simple to use, good for the new ones to web hosting... we're using RV Site Builder.
Anyway, on every single page they had to go and put a stupid floating layer, so the layer stays in the same place & the sidebar pushes the content to the right... so the logo (floating layer) is on top of the sidebar
Here's my code:
That's all working nicely, 100% height etc. but as said above, as RV Site Builder is using a floating layer for the logo the logo stays in the top left & goes over the sidebar which is no good
Is there any CSS I can use instead of or with margin-left:175px; that will push anything no matter what it is, even floating layers?
Thanks
Craig.
I'll probably get told of for mentioning the site for an example, so I won't.
All our customers websites have a sidebar with an ad in it (free web hosting - we need some way to pay for the servers

We also offer an online website builder which is very simple to use, good for the new ones to web hosting... we're using RV Site Builder.
Anyway, on every single page they had to go and put a stupid floating layer, so the layer stays in the same place & the sidebar pushes the content to the right... so the logo (floating layer) is on top of the sidebar

Here's my code:
Code:
<style>
body
{
margin:0px;
padding:0px;
}
div.one
{
position: absolute;
top:0;
background-color:#FFFFFF;
height:100%;
/* Firefox hack to make 100% height work properly */
/* START */
min-height: 100%;
/* END */
width:170px;
padding-top:0px;
float:left;
backgrund: url(http://www.xoopiter.com/images/sidebar_03.gif) repeat-y 100% 0;
margin-left:0px;
padding-left:0px;
}
div.usrcontent
{
margin-left:175px;
}
</style>
<div class="one">
Content of the sidebar goes here.
</div>
<div class="usrcontent">
Users page goes here... then the footer is included which is this:
</div>
That's all working nicely, 100% height etc. but as said above, as RV Site Builder is using a floating layer for the logo the logo stays in the top left & goes over the sidebar which is no good

Is there any CSS I can use instead of or with margin-left:175px; that will push anything no matter what it is, even floating layers?
Thanks
Craig.