Forum AspNuke.it - Il tuo Portale OpenSource in ASP
DIFFERENZE DI VISUALIZZAZIONE
Autore
Messaggio
cicciocappuccio
Utente
89 Discussioni
17 aprile 2005 alle 17:21:04
Ciao a tutti... Dopo che Zalabard mi ha fatto notare una cosa e dopo un mio controllo "di persona", ho notato che il mio sito si vede in due modalità diverse: MODALITA' FIREFOX : http://www.andreagrossi.net/da_cancellare/firefox_screen.png MODALITA' MSIE : http://www.andreagrossi.net/da_cancellare/msie_screen.png La cosa buffa è che io e un mio conoscente, con MSIE lo vediamo come si vede nell'immagine mentre la mia morosa, dal suo ufficio, con MSIE vede il mio sito in "MODALITA' FIREFOX" cioè normalmente... Premetto che io e il mio amico usiamo MSIE 6.0.28 su win2k mentre la mia morosa usa winxp con non so quale versione di MSIE... SalutZZ! Andrea
--------------- Andreahttp://www.gilmor.it
cicciocappuccio
Utente
89 Discussioni
18 aprile 2005 alle 21:24:49
Urk... Correzione: ANCHE la mia morosa vede il mio sito in modalità MSIE... Qualcuno ha qualche idea? Io no....
--------------- Andreahttp://www.gilmor.it
djveleno
Amministratore
Esperto
1025 Discussioni
18 aprile 2005 alle 21:52:58
Sembrerebbe un problema legato all'HTML della pagina toppage-inc e defaultX-inc (X sta per il numero di default-inc scelto), controlla cosa hai inserito, tipo banner, immagini, Java_Script eccetera, sia in toppage che in default-inc, o, quali modifiche hai apportato alle pagine. Ciauzz DJ
--------------- A lavare la testa ai somari, ci si rimette l'acqua e il sapone!http://aspnuke208.somee.com/Default.asp
cicciocappuccio
Utente
89 Discussioni
19 aprile 2005 alle 10:24:02
toppage-inc.asp non l'ho neanche guardata. Dove invece ho messo mano è default-inc.asp...<!-- #include file="news-inc.asp" --> <!-- #include file="articles-inc.asp" --> <!-- #include file="downloads-inc.asp" --> <!-- #include file="forum-inc.asp" --> <% ' ************************************************************************ Response.Write "<table width=""100%"" cellspacing=""0"" cellpadding=""0"" border=""0"" align=""center"">" & vbCRLF Response.Write " <tr>" & vbCRLF Response.Write " <td width=""150""valign=""top"" align=""right"" cellspacing=""5"">" & vbCRLF DisplayTopHomeEvents Response.Write " </td>" & vbCRLF ' ************************************************************************ If GLOBAL_ARTICLES_LINKS_TOP > 0 Then Response.Write " <td width=""200""valign=""top"" align=""right"">" & vbCRLF DisplayTopArticlesLinks GLOBAL_ARTICLES_LINKS_TOP, 0 Response.Write " </td>" & vbCRLF End If ' ************************************************************************ Response.Write " </td>" & vbCRLF Response.Write " </tr>" & vbCRLF Response.Write "</table>" & vbCRLF ' ************************************************************************ If GLOBAL_NEWS_LINKS_TOP > 0 and GLOBAL_DOWNLOADS_TOP > 0 Then Response.Write "<table width=""100%"" cellspacing=""0"" cellpadding=""0"" border=""0"" align=""center"">" & vbCRLF Response.Write " <tr>" & vbCRLF Response.Write " <td width=""200""valign=""top"" colspan=""3"" >" & vbCRLF DisplayTopNewsLinks GLOBAL_NEWS_LINKS_TOP, 0 Response.Write " </td>" & vbCRLF ' ************************************************************************ Response.Write " <td width=""200""valign=""top"" colspan=""3"" width=""300"">" & vbCRLF DisplayTopDownloads GLOBAL_DOWNLOADS_TOP, "date" Response.Write " </td>" & vbCRLF Response.Write " </tr>" & vbCRLF Response.Write "</table>" & vbCRLF End If ' ************************************************************************ If GLOBAL_FORUM_TOP > 0 Then Response.Write "<table width=""100%"" cellspacing=""0"" cellpadding=""0"" border=""0"" align=""center"">" & vbCRLF Response.Write " <tr>" & vbCRLF Response.Write " <td width=""200""valign=""top"" colspan=""3"" >" & vbCRLF DisplayTopForum GLOBAL_FORUM_TOP Response.Write " </td>" & vbCRLF Response.Write " </tr>" & vbCRLF Response.Write "</table>" & vbCRLF End If ' ************************************************************************ %> Pensavo fosse tutto in ordine, fisto che FireFox mi visualizzava la pagina esattamente come volevo io...... Se qualcuno può aiutarmi a spulciare il codice...
--------------- Andreahttp://www.gilmor.it
cicciocappuccio
Utente
89 Discussioni
19 aprile 2005 alle 10:35:45
Codice spulciato e corretto! Se può interessare metto qui il nuovo codicillo corretto (magari potrà servire a qualcuno!):<!-- #include file="news-inc.asp" --> <!-- #include file="articles-inc.asp" --> <!-- #include file="downloads-inc.asp" --> <!-- #include file="forum-inc.asp" --> <% ' ************************************************************************ Response.Write "<table width=""100%"" cellspacing=""0"" cellpadding=""0"" border=""0"" align=""center"">" & vbCRLF Response.Write " <tr>" & vbCRLF Response.Write " <td width=""50%""valign=""top"" align=""right"" cellspacing=""0"">" & vbCRLF DisplayTopHomeEvents Response.Write " </td>" & vbCRLF ' ************************************************************************ If GLOBAL_ARTICLES_LINKS_TOP > 0 Then Response.Write " <td width=""100%""valign=""top"" align=""right"">" & vbCRLF DisplayTopArticlesLinks GLOBAL_ARTICLES_LINKS_TOP, 0 Response.Write " </td>" & vbCRLF End If ' ************************************************************************ Response.Write " </td>" & vbCRLF Response.Write " </tr>" & vbCRLF Response.Write "</table>" & vbCRLF ' ************************************************************************ If GLOBAL_NEWS_LINKS_TOP > 0 and GLOBAL_DOWNLOADS_TOP > 0 Then Response.Write "<table cellspacing=""0"" cellpadding=""0"" border=""0"" align=""center"">" & vbCRLF Response.Write " <tr>" & vbCRLF Response.Write " <td valign=""top"" colspan=""3"" >" & vbCRLF DisplayTopNewsLinks GLOBAL_NEWS_LINKS_TOP, 0 Response.Write " </td>" & vbCRLF ' ************************************************************************ Response.Write " <td valign=""top"" colspan=""3"">" & vbCRLF DisplayTopDownloads GLOBAL_DOWNLOADS_TOP, "date" Response.Write " </td>" & vbCRLF Response.Write " </tr>" & vbCRLF Response.Write "</table>" & vbCRLF End If ' ************************************************************************ If GLOBAL_FORUM_TOP > 0 Then Response.Write "<table cellspacing=""0"" cellpadding=""0"" border=""0"" align=""center"">" & vbCRLF Response.Write " <tr>" & vbCRLF Response.Write " <td valign=""top"" colspan=""3"" >" & vbCRLF DisplayTopForum GLOBAL_FORUM_TOP Response.Write " </td>" & vbCRLF Response.Write " </tr>" & vbCRLF Response.Write "</table>" & vbCRLF End If ' ************************************************************************ %>
--------------- Andreahttp://www.gilmor.it
Zalabard
Moderatore
Esperto
781 Discussioni
19 aprile 2005 alle 10:41:34
Si vede che Firefox è "troppo" intelligente, perché riesce a visualizzare un codice che è MOLTO sporco: ci sono chiusure di TD di troppo e tabelle con numero di colonne variabile. Prova questo codice che dovrebbe funzionare bene su entrambi:<!-- #include file="news-inc.asp" --> <!-- #include file="articles-inc.asp" --> <!-- #include file="downloads-inc.asp" --> <!-- #include file="forum-inc.asp" --> <% ' ************************************************************************ Response.Write "<table width=""100%"" cellspacing=""0"" cellpadding=""0"" border=""0"" align=""center"">" & vbCRLF Response.Write " <tr>" & vbCRLF Response.Write " <td width=""340px""valign=""top"" align=""right"" cellspacing=""5"">" & vbCRLF DisplayTopHomeEvents Response.Write " </td>" & vbCRLF ' ************************************************************************ Response.Write " <td valign=""top"" align=""right"">" & vbCRLF If GLOBAL_ARTICLES_LINKS_TOP > 0 Then DisplayTopArticlesLinks GLOBAL_ARTICLES_LINKS_TOP, 0 Else Response.Write " " & vbCRLF End If Response.Write " </td>" & vbCRLF ' ************************************************************************ Response.Write " </tr>" & vbCRLF Response.Write "</table>" & vbCRLF ' ************************************************************************ If GLOBAL_NEWS_LINKS_TOP > 0 and GLOBAL_DOWNLOADS_TOP > 0 Then Response.Write "<table width=""100%"" cellspacing=""0"" cellpadding=""0"" border=""0"" align=""center"">" & vbCRLF Response.Write " <tr>" & vbCRLF Response.Write " <td width=""45%"" valign=""top"">" & vbCRLF DisplayTopNewsLinks GLOBAL_NEWS_LINKS_TOP, 0 Response.Write " </td>" & vbCRLF ' ************************************************************************ Response.Write " <td valign=""top"">" & vbCRLF DisplayTopDownloads GLOBAL_DOWNLOADS_TOP, "date" Response.Write " </td>" & vbCRLF Response.Write " </tr>" & vbCRLF Response.Write "</table>" & vbCRLF End If ' ************************************************************************ If GLOBAL_FORUM_TOP > 0 Then Response.Write "<table width=""100%"" cellspacing=""0"" cellpadding=""0"" border=""0"" align=""center"">" & vbCRLF Response.Write " <tr>" & vbCRLF Response.Write " <td valign=""top"" colspan=""2"" >" & vbCRLF DisplayTopForum GLOBAL_FORUM_TOP Response.Write " </td>" & vbCRLF Response.Write " </tr>" & vbCRLF Response.Write "</table>" & vbCRLF End If ' ************************************************************************ %>
---------------Frank Zalabard (sviluppo@aspnuke.it)
cicciocappuccio
Utente
89 Discussioni
19 aprile 2005 alle 11:40:52
Vuoi dire che ora lo vedi esattamente come prima????
--------------- Andreahttp://www.gilmor.it
Zalabard
Moderatore
Esperto
781 Discussioni
19 aprile 2005 alle 11:44:59
No, adesso lo vedo bene: mi hai preceduto di qualche attimo a postare le modifiche. Dico che PRIMA c'era del codice sporco e Firefox era così "intelligente" da capirlo lo stesso, mentre IE faceva casino. Adesso è OK, anche se il codice non è del tutto pulito.... ma funziona (controlla col mio)
---------------Frank Zalabard (sviluppo@aspnuke.it)
cicciocappuccio
Utente
89 Discussioni
20 aprile 2005 alle 10:39:34
Ottimo! Grazie!
--------------- Andreahttp://www.gilmor.it
Sostieni AspNuke
Un piccolo gesto per aiutarci a mantenere AspNuke.it online
Promo
MusicWebItalia.it Video Testi Traduzioni Spot Colonne sonore Accordi e Spartiti gratis.
Visitatori
Visitatori Correnti : 119
Membri : 0
Anna
Iscritti
Utenti: 18940
Ultimo iscritto :
glauco
Lista iscritti
Messaggi privati: 3373
Immagini: 39
Downloads: 144
Articoli: 49
Pagine: 101
Siti web: 558
Notizie: 180
Sondaggi: 11
Preferiti: 5685262
Post sui forum: 51195
Libro degli ospiti: 4
Eventi: 7