Christine Robinson wrote:

> Francky,
>  
> First of all, thank you for going through all of that work for me. I 
> really do appreciate it!
> I had tried nearly everything you did, with the same results before 
> posting.
>  
> Now, I just spent quite a bit of time trying to find a script as you 
> suggested, to no avail. So, I went back to your email to get the 
> little bit of script you sent to search with. Searched and really 
> found nothing. Then, bam! something hit me. position:absolute. Why not 
> just try putting that in the #main and see what happens. If worked 
> like a charm. Again Francky, you are my angel.
>  
> Thank you so much for your help.
>  
> Christine
>
>       
>
Yeps, that's right: with position:absolute NN6 goes straight forward.
But as I mentioned, the problem now is that Opera doesn't show the page 
in the right way. See screenshot 
<http://home.tiscali.nl/developerscorner/css-discuss/images/i-Opera.jpg>.
The screenshot is Opera 8, and Opera 7.54 has the same (so I guess all 
recent Opera's).
Then satisfying NN6 is disregarding Opera...
Only thing will be to detect NN6 with a javascript, and give the 
position:absolute as NN6-only instruction.
The javascript for a browser-sniffer just for NN6 is:
---------
<script type="text/javascript" language="JavaScript">
<!--
// test Netscape Navigator 6, if yes: give position:absolute for #main
if (navigator.userAgent.indexOf("Netscape6") != -1) {
    document.write('<style 
type="text\/css"\>#main\{position:absolute;\}<\/style\>') }
//-->
</script>
---------
This has to be placed just under the <style></style> in the head of the 
page.
Made a testpage 
<http://home.tiscali.nl/developerscorner/css-discuss/iNN6.html> with it, 
and in this way NN6 is doing what asked and also Opera is happy (FF and 
IE stay o.k.).
This is working under Windows98SE, the only system I have. Hope WinXP 
and other operating systems do the same!

ps: the sniffer-wisdom I got from an excellent online html/css-manual - 
www.handleidinghtml.nl - but that is in Dutch...

francky


______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to