| Autore |
Messaggio
|
| r3lative |
Inviato: Lun Giu 23, 2008 3:53 am Oggetto: wordpress & tag [code] |
|
|
 BANNATO
Registrato: 03/05/07 00:27
Messaggi: 7340 Residenza: Saccolongo - PD - ITALY - terzo pianeta a sinistra
|
sto facendo delle prove con wordpress, qualcuno sa come fare/simulare quel riquadro che qui si chiama [ code ]
ho provato anche installando TinyMCE, ma nulla ...
Codice:
questo, per intenderci ...
grazie  _________________ “Mai argomentare con un idiota;
ti fa scendere al suo livello e ti batte per esperienza ”
r3lative blog |
|
| Top |
|
 |
Sponsor
|
|
 |
| dev/null |
Inviato: Lun Giu 23, 2008 11:18 am Oggetto: |
|
|

Registrato: 13/09/07 16:33 Età: 22 Messaggi: 1091 Residenza: JN55VL
|
Uhm, puoi usare il <pre> per il testo preformattato.
E, andando a rivedere, esiste anche il <code>. Magari tramite CSS ci affibbi lo stile che più ti piace. _________________ The ideas of economists and political philosophers, both when they are right and when they are wrong, are more powerful than is commonly understood. Indeed the world is ruled by little else. Practical men, who believe themselves to be quite exempt from any intellectual influence, are usually the slaves of some defunct economist. Madmen in authority, who hear voices in the air, are distilling their frenzy from some academic scribbler of a few years back. I am sure that the power of vested interests is vastly exaggerated compared with the gradual encroachment of ideas. -- J.M. Keynes |
|
| Top |
|
 |
| sparayurji |
Inviato: Lun Giu 23, 2008 11:19 am Oggetto: |
|
|
Registrato: 13/04/07 22:21
Messaggi: 737
|
ne so nulla ma sto iniziando a guardarmi intorno se per caso mi venisse voglia di farne uno dall'india...
il tag dovrebbe (!) essere <blockquote> , in formato html. |
|
| Top |
|
 |
| dev/null |
Inviato: Lun Giu 23, 2008 11:21 am Oggetto: |
|
|

Registrato: 13/09/07 16:33 Età: 22 Messaggi: 1091 Residenza: JN55VL
|
mmh, <blockquote> è per inserire "citazioni", non rispetta l'indentazione che io ricordi. _________________ The ideas of economists and political philosophers, both when they are right and when they are wrong, are more powerful than is commonly understood. Indeed the world is ruled by little else. Practical men, who believe themselves to be quite exempt from any intellectual influence, are usually the slaves of some defunct economist. Madmen in authority, who hear voices in the air, are distilling their frenzy from some academic scribbler of a few years back. I am sure that the power of vested interests is vastly exaggerated compared with the gradual encroachment of ideas. -- J.M. Keynes |
|
| Top |
|
 |
| sparayurji |
Inviato: Lun Giu 23, 2008 11:26 am Oggetto: |
|
|
Registrato: 13/04/07 22:21
Messaggi: 737
|
|
| Top |
|
 |
| r3lative |
Inviato: Lun Giu 23, 2008 12:03 pm Oggetto: |
|
|
 BANNATO
Registrato: 03/05/07 00:27
Messaggi: 7340 Residenza: Saccolongo - PD - ITALY - terzo pianeta a sinistra
|
grazie, ma il code, l'avevo già provato....
io pensavo proprio ad un tag/qualcosa che mi permette di aprire un box (con cornice e magari di colore diverso) e all'interno di questo il testo viene formattato (colore, stile) in modo diverso ...
se date un'occhio qui vedete che il codice l'ho scritto in verde, ma volevo un qualcosa di questo tipo
--------------------------
capita spesso di dover usare data e ora all’interno di qualche nostro batch, ma naturalmente il formato dato ds %date% e %time% non sempre va bene, quindi dobbiamo riformattarlo.
uno dei sistemi più efficaci è questo:
Codice: for /f “tokens=1-3 delims=/:., ” %%a in (’date /t’) do (
set dt=%%c.%%b.%%a
)
for /f “tokens=1-3 delims=/:., ” %%a in (’time /t’) do (
set ti=%%a.%%b
)
uno dei vantaggi di questa soluzione, è quella di avere ora, minuti, giorno e mese sempre di 2 caratteri
----------------------------
anzi, una cosa tipo questa (quel box in grigio) _________________ “Mai argomentare con un idiota;
ti fa scendere al suo livello e ti batte per esperienza ”
r3lative blog |
|
| Top |
|
 |
| sparayurji |
Inviato: Lun Giu 23, 2008 12:43 pm Oggetto: |
|
|
Registrato: 13/04/07 22:21
Messaggi: 737
|
mmm allora non so che pesci pigliare, non che prima la mia lenza fosse carica...
btw, imvho un carattere monospaced rende assai meglio in caso di citazioni di comandi da inserire o file di configurazione, non sempre si fa controlvì controlcì. anche se esteticamente è meno bello da vedere. vabbè. |
|
| Top |
|
 |
| dev/null |
Inviato: Lun Giu 23, 2008 3:11 pm Oggetto: |
|
|

Registrato: 13/09/07 16:33 Età: 22 Messaggi: 1091 Residenza: JN55VL
|
Io dicevo usare il tag <code> e assegnargli, a livello globale, lo stile che vuoi con i CSS. _________________ The ideas of economists and political philosophers, both when they are right and when they are wrong, are more powerful than is commonly understood. Indeed the world is ruled by little else. Practical men, who believe themselves to be quite exempt from any intellectual influence, are usually the slaves of some defunct economist. Madmen in authority, who hear voices in the air, are distilling their frenzy from some academic scribbler of a few years back. I am sure that the power of vested interests is vastly exaggerated compared with the gradual encroachment of ideas. -- J.M. Keynes |
|
| Top |
|
 |
| r3lative |
Inviato: Lun Giu 23, 2008 4:37 pm Oggetto: |
|
|
 BANNATO
Registrato: 03/05/07 00:27
Messaggi: 7340 Residenza: Saccolongo - PD - ITALY - terzo pianeta a sinistra
|
| dev/null ha scritto: | | Io dicevo usare il tag <code> e assegnargli, a livello globale, lo stile che vuoi con i CSS. |
infatti mi sa che il "trucco" è proprio quello di toccare il css ... mo ci provo, vediamo cosa salta fuori ...
intanto grazie
ciao _________________ “Mai argomentare con un idiota;
ti fa scendere al suo livello e ti batte per esperienza ”
r3lative blog |
|
| Top |
|
 |
| r3lative |
Inviato: Lun Giu 23, 2008 11:16 pm Oggetto: |
|
|
 BANNATO
Registrato: 03/05/07 00:27
Messaggi: 7340 Residenza: Saccolongo - PD - ITALY - terzo pianeta a sinistra
|
risolto, in effetti basta mettere mano al foglio stile
grazie a tutti. _________________ “Mai argomentare con un idiota;
ti fa scendere al suo livello e ti batte per esperienza ”
r3lative blog |
|
| Top |
|
 |
|
|