Visualizzazione dei risultati da 1 a 2 su 2

Discussione: Due layer in una td

  1. #1
    Utente di HTML.it L'avatar di gnola
    Registrato dal
    Jun 2001
    Messaggi
    603

    Due layer in una td

    Ciao a tutti ho un problemone con dei layer....
    Io dovrei mettere un menù in flash in un layer e un testo in un altro layer.....Tutte e due i layer però devono essere inseriti in una tabella che quindi si deve allungare in base al testo del secondo layer.....come si fà????

    Ho fatto così:

    <table width="598" border="1" cellspacing="0" cellpadding="0">
    <tr>
    <td>
    <div id="Layer1" style="position:relative; width:598; height:85px; z-index:2;">
    <object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="599" height="125">
    <param name="movie" value="menu.swf">
    <param name="quality" value="high">
    <param name="wmode" value="transparent" />
    <embed src="menu.swf" quality="high" wmode="transparent" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="599" height="125"></embed></object>
    </div>

    <div id="Layer2" style="position:relative; width:598; height:30; z-index: 1; top: -50px;">

    testo testo testo testo testo testotesto testo
    testotesto testo testotesto testo testo
    testotesto testo testotesto testo testo
    testotesto testo testotesto testo testo

    testotesto testo testotesto testo testo
    testotesto testo testotesto testo testo
    testotesto testo testotesto testo testo

    </div>
    </td>
    </tr>
    </table>


    Ma con Firefox e Netscape il layer del testo mi và oltre la fine della tabella come se fosse ad un livello superiore e quindi esce fuori dalla td....

  2. #2
    Utente di HTML.it L'avatar di gnola
    Registrato dal
    Jun 2001
    Messaggi
    603
    up!

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.