concerning the licence for GIF, I thought it was the transaction of the GIF 
images that was subordinate to it, not the display


Le Samedi 12 Avril 2003 19:37, Daniel Carrera a écrit :

> I'm not familiar with IE.  Does it noe understand PNG transparency at all?

yes it does if you put hte right code, but then it is not visible by NT or any 
other browser. but here is a turn around

1. get sniffer from www.appcreator.com  
2. add in head something like
        <?php
                $snif = new sniffer();

                if ($snif->browser == 'Netscape' &&  $snif->major <= '4')
                {
                echo"<link title=\"netscape_4_css\" rel=\"stylesheet\" 
href=\"http://www.xxxx.com/CSS/at_NT4_css.css\"; type=\"text/css\" 
media=\"screen\">";
                }
                if ($snif->browser == 'Netscape' &&  $snif->major > '4')
                {
                echo"<link title=\"netscape_6_css\" rel=\"stylesheet\" 
href=\"http://www.xxxxxxxx.com/CSS/at_NT6_css.css\"; type=\"text/css\" 
media=\"screen\">";
                }
                else
                {
                 echo"<link title=\"IE_css\" rel=\"stylesheet\" 
href=\"http://www.xxx.com/CSS/at_IE_css.css\"; type=\"text/css\" 
media=\"screen\">";
                }
        ?>

this will allow you to select tha appropriate css file according to the 
browser

3. dans body use this to see alpha chanel with IE

<!--[if IE 6]>
<DIV ID="headwin"
STYLE="text-align:center;position:absolute;left:140px;
height:147px;width:520px;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='./images/xxxxxxxx.png',
 
sizingMethod='scale');" >
</DIV>

<![endif]-->    

or this for gif or if you do not care about alpha chanel
<!--[if IE 6]>
<DIV ID="headwin"
STYLE="text-align:center;position:absolute;left:140px" > <img 
src="./images/xxxxx.png" alt="logo" width=520 height=147 align="middle" 
border=0>

</DIV>

<![endif]-->


and this for NT
<div id="headnt" style="text-align:center">
<img src="./images/xxxx.png" alt="logo" width=520 height=147 align="middle" 
border=0>

in css for IE add
#headnt {
        visibility:hidden;
        }
#headwin {
        whatever you use
}


in css for NT add
#headnt {
      whatever you use
        }
#headwin {
        visibility:hidden;
}

and do this for any type of browser if you want to do it properly

note however that most browser, I mean by that the old one that represent the 
majority of the one still in use, do not support css very well if at all. you 
will have to experiment a lot.

I did not invent anything here, there is a lot of articles on the net related 
to these techniques, that I am sure are more precise.

cheers

-- 
Philippe Rousselot,

Pour des raisons de sécurité informatique toutes pièces jointes au format 
Word, Excell et PowerPoint sont immédiatement détruites.
je vous prierais donc de les remplacer par des fichiers au format rtf,  csv ou 
pdf 
voir le lien suivant pour les aspects philosophiques : 
http://www.fsf.org/philosophy/no-word-attachments.fr.html
_______________________________________________
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user

Reply via email to