16 febbraio 2004 alle 16:11:10 Ciao a tutti, volevo sapere come faccio ad alineare la visuchat al centro della tabella (non in un block) nel default.asp, mi funziona tutto, però volevo sapere come alinearla al centro. Ecco qui la copia del mio www.stefiles.com/portal/default.asp
<% ' ************************************************************************ ' * ASP-Nuke: Free web portal in ASP * ' ************************************************************************ ' * Copyright (c) 2002-2003 by Gaetan Bouveret (webmaster@asp-nuke.com) * ' * http://www.asp-nuke.com * ' * * ' * This program is free software. You can redistribute it and/or modify * ' * it under the terms of the GNU General Public License as published by * ' * the Free Software Foundation; either version 2 of the License, or * ' * (at your option) any later version. * ' * * ' ************************************************************************ %> <!-- #include file='includes/includes-inc.asp' --> <!-- #include file='includes/news-inc.asp' --> <!-- #include file='includes/directory-inc.asp' --> <!-- #include file='includes/forum-inc.asp' --> <% If sPseudo <> "" Then sTitlePage = Replace(GetTranslation("LANG_TITLE_DEFAULT2"), "%1%", Server.HTMLEncode(sPseudo)) Else sTitlePage = GetTranslation("LANG_TITLE_DEFAULT") End If %> <!-- #include file='includes/toppage-inc.asp' --> <% CreateTopTable "", "Chat di www.stefiles.com" Response.Write "<Table width=""100%"" class=""Mytable"" align=""center"">" & vbCRLF Response.Write "<tr>" & vbCRLF Response.Write "<td width=""100%"" class=""Mytd"" align""center"">" & vbCRLF %> <!-- #include file="visubox1/box.asp" --> <% Response.Write "</td>" & vbCRLF Response.Write "</tr>" & vbCRLF Response.Write "</table>" & vbCRLF CreateBottomTable "" %> <% Response.Write "<table width=""100%"" cellspacing=""0"" cellpadding=""0"" border=""0"" align=""center"">" & vbCRLF Response.Write " <tr>" & vbCRLF If GLOBAL_NEWS_LINKS_TOP > 0 and GLOBAL_FORUM_TOP > 0 Then Response.Write " <td width=""50%"" valign=""top"">" & vbCRLF DisplayTopNewsLinks GLOBAL_NEWS_LINKS_TOP, 0 Response.Write " </td>" & vbCRLF Response.Write " <td> </td>" & vbCRLF Response.Write " <td width=""50%"" valign=""top"" align=""right"">" & vbCRLF DisplayTopForum GLOBAL_FORUM_TOP Response.Write " </td>" & vbCRLF Response.Write " </tr>" & vbCRLF ElseIf GLOBAL_NEWS_LINKS_TOP > 0 Then Response.Write " <td width=""100%"" valign=""top"">" & vbCRLF DisplayTopNewsLinks GLOBAL_NEWS_LINKS_TOP, 0 Response.Write " </td>" & vbCRLF Response.Write " </tr>" & vbCRLF ElseIf GLOBAL_FORUM_TOP > 0 Then Response.Write " <td width=""100%"" valign=""top"" align=""right"">" & vbCRLF DisplayTopForum GLOBAL_FORUM_TOP Response.Write " </td>" & vbCRLF Response.Write " </tr>" & vbCRLF End If Response.Write "</table>" & vbCRLF DisplayTopNews GLOBAL_NEWS_TOP, 0 %>