Hello,
I've aquired some Javascript that will kick in when a IE version < 6 comes to visit. It positions elements with a position:fixed effect. I need to add control for one more div container. Problem is - I don't have a clue about Javascript.
This is the complete sheet:
This controls the header and brings it up to the top (?)
I'd like the code to position the addtional div 75px down from the top of the viewport / directly underneath the #head object. Could someone please help me mod the code necessary ?
regards.
I've aquired some Javascript that will kick in when a IE version < 6 comes to visit. It positions elements with a position:fixed effect. I need to add control for one more div container. Problem is - I don't have a clue about Javascript.
This is the complete sheet:
Code:
html, body{ background:url(foo) fixed;} #head, #footer, #navigation_oben{ position:absolute; top:75px; z-index:10;} #head{ top:expression(eval(document.compatMode && document.compatMode=='CSS1Compat') ? documentElement.scrollTop : document.body.scrollTop)} #wrap, #content-wrap { height:100%;} #content{ padding:6em 1em;} #footer{ top:expression(eval(document.compatMode && document.compatMode=='CSS1Compat') ? documentElement.scrollTop +(documentElement.clientHeight-this.clientHeight) : document.body.scrollTop +(document.body.clientHeight-this.clientHeight));}
This controls the header and brings it up to the top (?)
Code:
#head{ top:expression(eval(document.compatMode && document.compatMode=='CSS1Compat') ? documentElement.scrollTop : document.body.scrollTop)}
regards.
Comment