2
I have an unsolved complication... I thought, I thought and I couldn’t solve.
body{
min-width:900px;
min-height:700px;
}
#topo{
margin-top:0px;
position:fixed;
width:100%;
height:40px;
background:black;
color:white;
}
barra_esquerda{
margin-top:45px;
position:fixed;
width:40px;
height:300px
background:black;
color:white;
}
In this example above I believe that it serves, by decreasing the dimension of the browser being inferior to the min-width and min-height will appear the scrollbar browser, and the site is all in Absolute, so when I move the bars scroll these Ivs stay fixed because they are fixed, the div #top all right, but the #leftbar I would like you to move also but leaving her in Absolute when moving the scroll in vertical it goes up but I don’t want it to go up, I would like that bar to be always visible and when moving the scrollbar in horizontal of the navigator she walked together.
I tried to leave the leftbar in Absolute turning into Fixed when moving the scroll with javascript, however Fixed does not move.
Guy puts the whole CSS and the HTML too, just with this piece of code can’t help...
– hugocsl
You want the #barra_left only to leave the screen if you move horizontally?
– Sam
I don’t want div Absolute to go up when moving the browser scrollbar vertically, but I want it to go along with the site when moving the browser scrollbar horizontally, that’s it...
– Jonathan
@Sam yes, that’s right...
– Jonathan