ciao a tutti, sto creando un sito html con CSS ed ho un problema la pagina iniziale e' ok.
creo le altre pagine sostituendo il contenuto del <DIV id=content> con quello che mi serve.
Se inserisco ad es:
una semplice tabella, tutto e' OK .codice:<table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="32%"></td> <td width="30%"> </td> <td width="38%"></td> </tr> <tr> <td width="32%"></td> <td width="30%"> <div align="center">[img]images/look.jpg[/img]</div> </td> <td width="38%"></td> </tr> <tr> <td width="32%"> </td> <td></td> <td width="38%"></td> </tr> <tr> <td width="32%"></td> <td width="30%"> <form name="ruolo_uomo" method="post" action="login_uomo.asp"> <div align="center"> <select name="ruolo_uomo" onChange="javascript: document.ruolo_uomo.submit()"> <option value="" selected>Scegli la locations:</option> <% while (!Mostra1.EOF) { %> <option value="<%=Mostra1("ruolo")%>"><%=Mostra1("ruolo")%></option> <% Mostra1.MoveNext(); } %> </select> </div> </form> </td> <td width="38%"></td> </tr> <tr> <td width="32%"> </td> <td width="30%"> <div align="center"><font face="Arial, Helvetica, sans-serif"><font face="Arial, Helvetica, sans-serif"><font size="2"></font></font></font></div> </td> <td width="38%"> </td> </tr> </table>
mentre se volessi inserire:
due o piu' tabelle, non me le allinea in "content" ma sotto tutto.....codice:<table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td> [img]visa.jpg[/img] </td> </tr> <tr> <td> <font size="2" face="Arial, Helvetica, sans-serif" color="#CCCCCC"><font color="#999999"><%=cliente%></font> > <%=sesso%> ><%=ruolo%></font> <% response.write "<font size=""1"" face=""Verdana, Arial, Helvetica, sans-serif"" color=""#999999"">" response.write " Pics : "&num response.write "</font>" %> <font size="1" face="Verdana, Arial, Helvetica, sans-serif" color="#cccccc">- casting sheet <%=ruolo%> </font> </td> </tr> </table></div> <form method="get" action="<%=ruolo%>.asp"> <table width="530" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="96" height="20" align="left" valign="middle"> </td> <td width="268" align="center" valign="middle"> <% if page<>"1" then response.write "<font size=""1"" face=""Verdana, Arial, Helvetica, sans-serif"" >" response.write "<a href="&ruolo&".asp?page="&page-1&"&dir="&dir&"&rows="&num_righe&"&cliente="&cliente&"&ruolo="&ruolo &"&sesso="&sesso &">" response.write "[img][/img]" response.write "</a>" response.write "" response.write "<a href="&ruolo&".asp?page="&page-1&"&dir="&dir&"&rows="&num_righe&"&cliente="&cliente&"&ruolo="&ruolo &"&sesso="&sesso &">" response.write "Previous" response.write "</a>" response.write "" response.write "</font>" end if response.write "[img][/img]" response.write "<font size=""1"" face=""Verdana, Arial, Helvetica, sans-serif"" color=""#999999"">" response.write " Page "&page&" of "&npage response.write "</font>" response.write "[img][/img]" if npage>page then response.write "<font size=""1"" face=""Verdana, Arial, Helvetica, sans-serif"" >" response.write "" response.write "<a href="&ruolo&".asp?page="&page+1&"&dir="&dir&"&rows="&num_righe&"&cliente="&cliente&"&ruolo="&ruolo &"&sesso="&sesso &">" response.write "Next" response.write "</a>" response.write "" response.write "<a href="&ruolo&".asp?page="&page+1&"&dir="&dir&"&rows="&num_righe&"&cliente="&cliente&"&ruolo="&ruolo &"&sesso="&sesso &">" response.write "[img][/img]" response.write "</a>" response.write "</font>" end if %> </td> <td width="166" align="right" valign="middle"> </td> </tr> </table> </form> <table width="100%" border="0" cellspacing="0" cellpadding="0" align="center"> <tr> <td> <% for j=1 to jfin controllo=num-(rpg*(page-1))-ifin_img*j if controllo<0 then ifin=ifin_img+controllo else ifin=ifin_img end if %> <table width="170" border="0" cellpadding="0" cellspacing="0" align="center"> <tr> <% for i=0 to ifin-1 %> <td width="20" height="152"></td> <td valign="middle" colspan="2"> <table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="128" height="128" align="center" valign="bottom"> [img]img/<% response.write (arr(k+1))%>[/img] </td> </tr> <tr> <td height="44" valign="top"> <table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#CCCCCC"> <tr> <td colspan="2" height="12" valign="middle" bgcolor="#FFFFFF"> <font face="Arial, Helvetica, sans-serif" size="1"> <% response.write (arr2(k+1))%> </font> </td> </tr> <tr> <td width="62" height="12" valign="middle" bgcolor="#FFFFFF"> <font size="1" face="Verdana, Arial, Helvetica, sans-serif" >','<%response.write (arr(k+1))%>');return false;">Zoom</font> </td> <td width="63" valign="middle" bgcolor="#FFFFFF"> <% ver = (arr2(k+1))+".mov" 'response.write ver Set fs=Server.CreateObject("Scripting.FileSystemObject") 'pres = fs.FileExists("c:\inetpub\wwwroot\webcasting\"&cliente&"\"&sesso&"\"&ruolo&"\img\"&ver&"") If (fs.FileExists("c:\inetpub\wwwroot\webcasting\"&cliente&"\"&sesso&"\"&ruolo&"\img\"&ver&"")) = true Then %> <font size="1" face="Verdana, Arial, Helvetica, sans-serif" >.mov&nome=<%response.write (arr2(k+1))%>&cliente=<%=cliente%>&sesso=<%=sesso%>&ruolo=<%=ruolo%>', 700, 508, 170, 180); return false;">Video</font> <% Else Response.Write("<div align=""center""><font size=""1"" face=""Verdana, Arial, Helvetica, sans-serif"">no video</font>") End If set fs=nothing %> </td> </tr> </table> </td> </tr> </table> </td> <td width="22"></td> <% k=k+1 next %> </tr> <tr> <td height="22" width="20"></td> <td width="125"></td> <td width="3"></td> <td width="22"></td> </tr> </table> <% next %> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td bgcolor="#C77339" width="24%"></td> <td bgcolor="#C77339" width="61%"> </td> <td bgcolor="#C77339" width="15%"></td> </tr> </table> </td> </tr> </table>
perche'?
![]()

Rispondi quotando