prime Posted October 15, 2007 Share Posted October 15, 2007 Ok ask help on the problem I'm having, I need to explain the setup I have I'm using css layout (obviously) and have the positioning with top (fixed) side (fixed) and the display area which is also fixed, now as it scrolls down the display area stops showing and goes to standard body color, So I have applied a z-index backing fixed that covers the entire backing so it doesn't show the white. which is working great. the problem I'm having is actualy with a form text indicator, it's simply not showing but when I removed the z-index backing it shows again. here's the css rule thats causing the problem div#displaybacking { background: black; position: absolute; position: fixed; top: 0%; left: 13%; width: 87%; height: 100%; z-index: 1; } Anyone know where I'm gonig wrong, Oh and the browser I'm using is firefox Quote Link to comment https://forums.phpfreaks.com/topic/73282-slight-problem/ Share on other sites More sharing options...
Hybride Posted October 17, 2007 Share Posted October 17, 2007 If you have z-index set as 1, it means the object will be put in front of everything in the class/id. Try setting it to -1, that will move it behind everything. Quote Link to comment https://forums.phpfreaks.com/topic/73282-slight-problem/#findComment-371180 Share on other sites More sharing options...
prime Posted October 17, 2007 Author Share Posted October 17, 2007 excuse me? if it's set to one its in front so change it to 1 so it's behind? hold on i'll show you the 2 rules for display div#displayarea { background: black; position: absolute; top: 13%; left: 13%; width: 87%; height: 86%; z-index: 2; } div#displaybacking { background: black; position: absolute; position: fixed; top: 0%; left: 13%; width: 87%; height: 100%; z-index: 1; } now the backing is supposed to go behind which is how I have it set but the form in the displayarea is the one I'm have the text indicator missing from Quote Link to comment https://forums.phpfreaks.com/topic/73282-slight-problem/#findComment-371205 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.