Forum Flash, Actionscript, PHP e MySQL
condizioni in css [css]

 
Nuovo Topic   Rispondi    Forum Flash, Actionscript, PHP e MySQL » HTML, XHTML, CSS, standard W3C e accessibilità
Precedente  Successivo 
Autore Messaggio
mesk8
avanzato
avanzato


Età: -1984
Registrato: 31/10/05 16:41
Messaggi: 252
Località: Verona

MessaggioOggetto: condizioni in css [css]
Inviato: 22.06.07 | 09:53
Rispondi citando

si possono fare delle condizioni dentro i fogli di stile css per IE?
tipo cone in html si fa così per sapere la versione di IE
 
Codice:
<p><!--[if IE]>
According to the conditional comment this is Internet Explorer<br />
<![endif]-->
<!--[if IE 5]>
According to the conditional comment this is Internet Explorer 5<br />
<![endif]-->
<!--[if IE 5.0]>
According to the conditional comment this is Internet Explorer 5.0<br />
<![endif]-->
<!--[if IE 5.5]>
According to the conditional comment this is Internet Explorer 5.5<br />
<![endif]-->
<!--[if IE 6]>
According to the conditional comment this is Internet Explorer 6<br />
<![endif]-->
<!--[if IE 7]>
According to the conditional comment this is Internet Explorer 7<br />
<![endif]-->
<!--[if gte IE 5]>
According to the conditional comment this is Internet Explorer 5 and up<br />
<![endif]-->
<!--[if lt IE 6]>
According to the conditional comment this is Internet Explorer lower than 6<br />
<![endif]-->
<!--[if lte IE 5.5]>
According to the conditional comment this is Internet Explorer lower or equal to 5.5<br />
<![endif]-->
<!--[if gt IE 6]>
According to the conditional comment this is Internet Explorer greater than 6<br />
<![endif]-->

mi servirebbe per dividere da IE a FF questo...
 
Codice:
tbody td {
    /*---solo Firefox---*/
    background-image:url(images/50percent.png);
    /*---fine solo Firefox---*/

    /*---solo IExplorer---*/
    background-image:url(images/blank.gif);
    filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=scale src='images/50percent.png');
    /*---fine solo IExplorer---*/
}
Torna in cima
Profilo Messaggio privato [ Nascosto ] MSN Messenger
Sponsor
Coach
amministratore
amministratore


Età: -1981
Registrato: 31/01/03 13:50
Messaggi: 4549
Località: Verona

MessaggioOggetto:
Inviato: 22.06.07 | 11:25
Rispondi citando

Ciao mesk8,
a cosa serve quel pezzo di codice per IE?
... non l'ho mai visto.

Puoi fare così:
 
Codice:
tbody td{
    background-image:url(images/blank.gif);
    filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=scale src='images/50percent.png');
}
tbody>td{background:url("images/50percent.png");}

Quello con ">" vale solo per Firefox.

.

____________________________________________________________


Il Forum è uno strumento di condivisione, oltre a fare DOMANDE, si possono anche dare RISPOSTE!
Torna in cima
Profilo Messaggio privato [ Nascosto ] HomePage Yahoo Messenger MSN Messenger Skype
mesk8
avanzato
avanzato


Età: -1984
Registrato: 31/10/05 16:41
Messaggi: 252
Località: Verona

MessaggioOggetto:
Inviato: 22.06.07 | 12:03
Rispondi citando

mai visto? wow anch'io allora so qks ke tu non sai Laughing
cmq dai a parte gli skerzi serve x IE basse versioni (tipo IE5) ad attivare la trasparenza alle png

ti posto anke un esempio se sei curoso, ciao


tab_hover.zip
 Descrizione:

Download
 Nome del file:  tab_hover.zip
 Dimensione:  21.3 KB
 Downloadati:  File visto 153 volta(e)
Torna in cima
Profilo Messaggio privato [ Nascosto ] MSN Messenger
Mostra prima i messaggi di:   
Nuovo Topic   Rispondi    Forum Flash, Actionscript, PHP e MySQL » HTML, XHTML, CSS, standard W3C e accessibilità Tutti i fusi orari sono GMT + 2 ore
Pagina 1 di 1


 
Vai a:  
Non puoi inserire nuovi Topic in questo forum
Non puoi rispondere ai Topic in questo forum
Non puoi modificare i tuoi messaggi in questo forum
Non puoi cancellare i tuoi messaggi in questo forum
Non puoi votare nei sondaggi in questo forum
Non puoi allegare files in questo forum
Puoi downloadare gli allegati in questo forum



Powered by phpBB © 2001, 2002 phpBB Group - phpBB SEO Designed by coachdesign - © 2003-2005