HTML, Codici

« Older   Newer »
  Share  
..::Sky::..
view post Posted on 17/4/2010, 19:03




Attenzione al fatto che il "margin-right: 4px;" è supplementare, l'ha messo tonno semplicemente per distanziare il testo dall'immagine.

In sostanza devi dire che esiste uno spazio ("div") che è posizionato sulla sinistra "float:left;" e se vuoi puoi aggiungere che tra questo spazio e il testo c'è un margine, a destra, di tot spazio "margin-right: 4px;".

Per la cronaca è sconsigliato usare BBCode dentro l' HTML mescolandoli e se vengono creati spazi di posizionamento è consigliabile inserirli in un loro spazio, quindi ottimizzandolo diventerebbe:

HTML
<div>

<div style="
float: left;
margin-right: 4px;
"
>

<img src="COLLEGAMENTO DIRETTO">
</div>

Testo che stai scrivendo.

</div>


HTML
<div><div style="float: left; margin-right: 4px;"><img src="COLLEGAMENTO DIRETTO"></div>Testo che stai scrivendo.</div>
 
Top
PsIcO_AdRy
view post Posted on 30/4/2010, 13:10




Percaso in questa sezione vengono anche eseguiti codici html su richiesta ?
 
Top
..::Sky::..
view post Posted on 30/4/2010, 20:01




CITAZIONE (PsIcO_AdRy @ 30/4/2010, 14:10)
Percaso in questa sezione vengono anche eseguiti codici html su richiesta ?

A pagamento, sì :asd:
 
Top
PsIcO_AdRy
view post Posted on 30/4/2010, 21:17




Era solo x far fare lavoro ad altri uff me tocca farlo da me
 
Top
view post Posted on 14/10/2010, 11:54
Avatar

~ We are many, Bludd is One ~

Group:
Popolo di NvO
Posts:
3,016

Status:
offline!


Perchè questo codice
CODICE
<div style="width:(valore larghezza)px; height:(valore altezza)px; overflow-y: scroll; border:2px solid black; background-color: ;color:">Testo
</div>

inserito in questo tipo di tabella
CODICE
<table bgcolor="black">
<tr> <td>esempio</td> <td>esempio</td> </tr>
<tr> <td>esempio</td> <td>esempio</td> </tr>
</table>

mi da sia una barra laterale che orizzontale??Insomma non mi va a capo automaticamente e io la barra orizzontale non ce la voglio XD Consiglio??
Ps: l'effetto è questo qua sotto

Esempiooooooooooooooooooooooooooooooooooooo oooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooookkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
esempio
esempioesempio

 
Top
view post Posted on 14/10/2010, 12:05

Group:
Guardian
Posts:
21,148
Location:
Naples

Status:
offline!


Eccotelo corretto.
CODICE
<div style="width:(valore larghezza)px; height:(valore altezza)px; overflow: auto; border:2px solid black; background-color: ;color:">Testo
</div>

tabella
CODICE
<table bgcolor="black">
<tr> <td>esempio</td> <td>esempio</td> </tr>
<tr> <td>esempio</td> <td>esempio</td> </tr>
</table>

Risultato

Esempioooooooooooooooooooooo
ooooooooooooooo
ooooooooooooooooooooooooo
ooooooooooooooooooooooooooo
oooooooooooooookkkkkkkkkkkk
kkkkkkkkkkkkkkkkkkkkkkkkkkkkk
kkkkkkkkkkkkkkkkkkk
esempio
esempioesempio


Il problema della barra orizzontale stava nel fatto che avevi scritto una parola luna 3 km e che quindi nn ti mandava a capo XD idiota ahah
Per la barra verticale, ho cambiato "Scroll" con "auto"
In pratica ti esce solo quando il testo diventa più lungo di quanto la tabella non sia alta^^
 
web   Top
view post Posted on 14/10/2010, 12:12
Avatar

~ We are many, Bludd is One ~

Group:
Popolo di NvO
Posts:
3,016

Status:
offline!


Thx Tox XD...
 
Top
view post Posted on 14/10/2010, 12:13
Avatar

Suza 2 - la vendetta in gonnella anche se la gonna non la mette mai

Group:
Guardian
Posts:
8,463
Location:
Sokovia

Status:
i'm a ninja!


Cioè il risultato che vuoi è questo?

EVENTUALE TITOLETTO
testo testo testo testo testo testo testo testo testo
EVENTUALE TITOLETTO
testo testo testo testo testo testo testo testo testo testo
EVENTUALE TITOLETTO
Testo testo testo testo


SPOILER (click to view)
CODICE
<table bgcolor="black">
<tr title=RIGA1>
<td>[size=0]EVENTUALE TITOLETTO
<div style="width:170; height:100; overflow-y: scroll; border:2px white; background-color:">testo testo testo testo testo testo testo testo testo
</div></td>[/size]
<td>[size=0]EVENTUALE TITOLETTO
<div style="width:170; height:100; overflow-y: scroll; border:2px white; background-color:">testo testo testo testo testo testo testo testo testo testo
</div>[/size]</td>
<td>[size=0]EVENTUALE TITOLETTO
<div style="width:170; height:100; overflow-y: scroll; border:2px white; background-color:">Testo testo testo testo
</div>[/size]</td>
</table>


EDIT: ah bon ha già fatto tutto tony!
 
Top
.:Princ:.
view post Posted on 23/1/2011, 14:44




Ragazzi una semplice domanda, se io uso questo codice
SPOILER (click to view)
Chakra:
Stamina:
Stat. Mentali:
Stat. Fisiche:

e accanto alla tabella vorrei scrivere le tecniche magari, come posso fare?
 
Top
view post Posted on 24/1/2011, 19:56
Avatar

~ We are many, Bludd is One ~

Group:
Popolo di NvO
Posts:
3,016

Status:
offline!


Secondo voi è possibile aggiungere allo sfondo della tabella invece dei colori le immagini??O tocca usare proprio un altro codice??
 
Top
Rakro94
view post Posted on 24/1/2011, 20:34




Ragazzi come si fa a mettere un fieldset a destra di un altro?
cioè uso il codice fieldset per crerare un piccolo rettangolo a sinistra e a destra ne voglio un altro si può fare?
 
Top
view post Posted on 24/1/2011, 20:50
Avatar

Suza 2 - la vendetta in gonnella anche se la gonna non la mette mai

Group:
Guardian
Posts:
8,463
Location:
Sokovia

Status:
i'm a ninja!


se intendi così (guarda sotto) io ho utilizzato la tabella.

Testo testo testo testo testo
testo testo testo testo testo

CODICE
<table width="85%">
<tr>
<td>
<fieldset>Testo testo testo testo testo</fieldset>
</td>
<td>
<fieldset>testo testo testo testo testo</fieldset>
</td>
</tr>
</table>


l'85% si riferisce alla larghezza rispetto a quella del topic
 
Top
Rakro94
view post Posted on 25/1/2011, 19:48




Grazie mille Tsume!
 
Top
27 replies since 22/10/2008, 20:22   1405 views
  Share