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

    Problemi di contenimento testo

    Salve.
    Ho un content e all'interno vi ho messo un testo:
    così


    Il problema è che il content è di 600x550. Quindi quando metto il testo si dispone tutto in alto nel content. Però io vorrei che si mettesse solo nel pezzo bianco, come nella foto.
    Con Explorer dando il margine a tutti e 4 i lati il testo di sposta al centro del content (nello spazio bianco), mentre con firefox non si muove di una virgola anche dando il margine dall'alto, non c'è modo di farlo muovere.
    Per favore è importante ho bisogno di aiuto.

    codice:
    #container{
    background: url(images/container.png) no-repeat;
    width:597px;
    height:511px;
    position:relative;
    left:100px;
    }
    #testo{
    font-family:"Times New Roman", Times, serif;
    font-size:14px;
    color:#66c1c4;
    
    ______________________
     <div id="container"> <div id="testo">  [img]images/foto.png[/img] 
    Lorem Ipsum
     is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries.
     ut also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
     </div></div>

  2. #2
    ciao, ecco il codice css:

    Codice PHP:
    #container{
        
    backgroundurl(bg.pngno-repeat;
        
    width:597px;
        
    height:511px;
        
    position:relative;
        
    left:100px;
    }
    #testo{
        
    font-family:"Times New Roman"Timesserif;
        
    font-size:14px;
        
    color:#66c1c4;
        
    position:absolute;
        
    top115px;
        
    left115px;
        
    width345px;
        
    height313px;
        
    overflowauto;

    Ho comunque caricato l'esempio qui.

  3. #3
    Grazie infinitamente! Trovo sempre persone gentilissime in questo forum!
    Grazie ancora.

  4. #4

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 © 2025 vBulletin Solutions, Inc. All rights reserved.