freecrm
New Member
- Messages
- 629
- Reaction score
- 0
- Points
- 0
Hope this is simple lol.
I have a fairly standard layout with fixed width #wrapper and auto padding left and right.
I am trying to get a status bar div to sit over a header image (z-index 2000), but it is stuck relative to the right of the browser edge.. not the wrapper. In effect, when the browser window increases in size, the general layout borders stretch to suit, but this div stays to the right, moving it off the place I want it to be.
If I set position as relative or static, the div forms it's own box and shunts the other divs down out of position - i.e. not sitting in a layer over the header img.
This statusbar div is between the #wrapper div tags.
css
You can see my problem on the test page at http://www.freecrm.x10hosting.com/css2/csstest.php
The problem area is the "you are logged is as" section top right
Any ideas?
I have a fairly standard layout with fixed width #wrapper and auto padding left and right.
I am trying to get a status bar div to sit over a header image (z-index 2000), but it is stuck relative to the right of the browser edge.. not the wrapper. In effect, when the browser window increases in size, the general layout borders stretch to suit, but this div stays to the right, moving it off the place I want it to be.
If I set position as relative or static, the div forms it's own box and shunts the other divs down out of position - i.e. not sitting in a layer over the header img.
This statusbar div is between the #wrapper div tags.
css
Code:
.statusbar{
position: absolute;
color:#006666;
width: auto;
z-index: 2000;
right: 10px;
top: 70px;
}
You can see my problem on the test page at http://www.freecrm.x10hosting.com/css2/csstest.php
The problem area is the "you are logged is as" section top right
Any ideas?