Visualizzazione dei risultati da 1 a 10 su 10
  1. #1

    immagine con testo dentro ad una cella

    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 !!!

  2. #2
    prova a mettere in head:

    codice:
    <style type="text/css">img { float:left}</style>
    ciaux

  3. #3
    sembra non funzionare...
    www.bresciapoint.it - un sito di miei amici bresciani !!!

  4. #4
    prova così:

    codice:
    <!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>
    ciaux

  5. #5
    ... 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 !!!

  6. #6
    mi mandi uno screenshot?
    mi mandi il codice che stai testanto?

    ciaux

  7. #7
    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 !!!

  8. #8
    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>
    codice:
    <style type="text/css">img { float:left}</style>
    nel tuo codice mancano tutte le indicazioni sul dtd

    ti consiglio di partire come base dal secondo esempio che ti ho postato che invece le comprende in modo corretto

    codice:
    <!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>
    ciaux

  9. #9
    che sbaglio !!!
    GRAZIE !!!!!!!! ci sono riuscito !!!
    www.bresciapoint.it - un sito di miei amici bresciani !!!

  10. #10

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.