CIAO A TUTTI !
Io volevo mettere all'interno di una cella un immagine e un testo.
Però volevo che il testo mi circondasse l'immagine (e mi stesse a dx e sotto l'immagine), un po' come avviene nei giornali stampati o nel corriere.it.
Come posso fare?
CIAO A TUTTI !
Io volevo mettere all'interno di una cella un immagine e un testo.
Però volevo che il testo mi circondasse l'immagine (e mi stesse a dx e sotto l'immagine), un po' come avviene nei giornali stampati o nel corriere.it.
Come posso fare?
www.bresciapoint.it - un sito di miei amici bresciani !!!
prova a mettere in head:
ciauxcodice:<style type="text/css">img { float:left}</style>
sembra non funzionare...
www.bresciapoint.it - un sito di miei amici bresciani !!!
prova così:
ciauxcodice:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> <title>titolo</title> <style type="text/css"> img { float:left; } </style> </head> <body> [img]tuafoto.gif[/img]qui testo </body> </html>
... neanche così funziona.... il testo mi va solo sotto l'immagine e non anche a destra...
www.bresciapoint.it - un sito di miei amici bresciani !!!
mi mandi uno screenshot?
mi mandi il codice che stai testanto?
ciaux
CON MOLTO PIACERE !
<head>
<link rel="StyleSheet" href="style.css" type="text/css" />
img { float:left}
</head>
</table></td>
<td width="60%" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="100%"><div class="titolo">AAA</div></td>
</tr>
<tr>
<td width="100%"><div class="tabellasemplice"><table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="40%">[img]images/immagineprova.jpg[/img]</td>
<td width="60%">
[img]images/immagineprova2.jpg[/img]
<h1 class="centrale">TITOLO PRIMO</h1>
<p class="centrale">TESTO, QUESTO TESTO DEVE AUTOMATICAMENTE ANDARE A DESTRA E SOTTO L'IMMAGINE (immagineprova2.jpg)... jhgfsdfsf sdjfh sdjbfsdhfbgsdjf sdfj sd fjsdhfsd f sdjfhsdbjf sdjfhsdjfsjdhfbsdf sdjfsdjhfb sdfjsdhbfjsdfh sdfjsdhfbsdfj sf jsdfh sdjfhbsdjf sjdfhs dfjhsd fjsdhfbjsdhf jshdf jsfh sdjfhsd</p>
</td>
</tr>
</table></div></td>
</tr>
</table>
</body>
</html>
</body>
</html>
www.bresciapoint.it - un sito di miei amici bresciani !!!
e no,
hai copiato solo una parte del codiche che ti ho postato...
codice:<head> <link rel="StyleSheet" href="style.css" type="text/css" /> img { float:left} </head>nel tuo codice mancano tutte le indicazioni sul dtdcodice:<style type="text/css">img { float:left}</style>
ti consiglio di partire come base dal secondo esempio che ti ho postato che invece le comprende in modo corretto
ciauxcodice:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> <title>titolo</title> <style type="text/css"> img { float:left; } </style> </head> <body> [img]tuafoto.gif[/img]qui testo </body> </html>
che sbaglio !!!
GRAZIE !!!!!!!! ci sono riuscito !!!
www.bresciapoint.it - un sito di miei amici bresciani !!!
ok
ciaux