wimtsie
01-21-2005, 09:13 AM
I use the folding menu tree and somehow the positioning of the 2nd menu level is different in IE and NS. In IE it all looks ok, but in NS it's way off. Check it out:
www.panglipur.com/test/testtest.htm
Is it possible to write a script that detects which browser is being used and in case of NS use a different stylesheet, see this part of the code:
#foldheaderX {
MARGIN-LEFT: -17px; LIST-STYLE-IMAGE: url(blok.gif); cursor:pointer;cursor:hand}
#foldheader {
MARGIN-LEFT: -17px; LIST-STYLE-IMAGE: url(blok_plus.gif); cursor:pointer;cursor:hand}
#foldinglist {
MARGIN-LEFT: 0px; LIST-STYLE-IMAGE: url(spacer.gif); cursor:pointer;cursor:hand}
www.panglipur.com/test/testtest.htm
Is it possible to write a script that detects which browser is being used and in case of NS use a different stylesheet, see this part of the code:
#foldheaderX {
MARGIN-LEFT: -17px; LIST-STYLE-IMAGE: url(blok.gif); cursor:pointer;cursor:hand}
#foldheader {
MARGIN-LEFT: -17px; LIST-STYLE-IMAGE: url(blok_plus.gif); cursor:pointer;cursor:hand}
#foldinglist {
MARGIN-LEFT: 0px; LIST-STYLE-IMAGE: url(spacer.gif); cursor:pointer;cursor:hand}