Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

Problema visualizzazione con IE

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Language: Italian
View previous topic :: View next topic  
Author Message
raoh980
Smarty Rookie


Joined: 13 May 2008
Posts: 7

PostPosted: Tue May 13, 2008 10:27 pm    Post subject: Problema visualizzazione con IE Reply with quote

Allora, come da titolo ho un problema di come IE si comporta con Smarty.

Provate a guardare questa pagina con IE
ttp://www.minorleague.it/ml_5/player.php?act=dir
e poi Firefox, Opera, Safari etc.

IE da problemi col menu a sinistra ( ma non solo.. ).
Son sicuro che il "problema" è causato da smarty perchè la stessa pagina senza essere generata dal template ( ho fatto copia e incolla del codice html finale ) non da problemi e tutto sembra essere ok. Per la cronaca, carico il menu e altre parti della pagina grazie al comando
Code:
<div id="sidebar1">
         {include file="menu.tpl"}
<!-- end #sidebar1 --></div>

Questo per poterle editare successivamente senza andare a modificare tutti i file .tpl

Non solo ho anche un problema, sempre con IE, con la scritta finale dei credits se metto anche quella con l'include.
Code:
<div id="footer">
{include file="credits.tpl"}
 <!-- end #footer --></div>

In questo caso IE non mi rispetta i margini che gli ho impostato, mentre come la potete vedere ora, se non uso {include.. tutto è normale.

Come mai e soprattutto, come posso ovviare a queste mancanze di IE ?
Grazie a tutti !
Back to top
View user's profile Send private message
flatfield
Smarty Rookie


Joined: 30 Apr 2007
Posts: 18
Location: Genova (Italy)

PostPosted: Fri May 23, 2008 3:58 pm    Post subject: Reply with quote

Escludo che possa essere un problema di Smarty.....
Cosa c'è dentro al file .tpl? Non è che includi 2 volte il div?
Se controlli il sorgente del file generato da smarty, che differenze ha rispetto a quello iniziale in puro html?
Back to top
View user's profile Send private message Visit poster's website
veganet
Smarty Rookie


Joined: 28 Dec 2008
Posts: 6

PostPosted: Mon Dec 29, 2008 8:20 am    Post subject: Reply with quote

In effeti questo non è un problema di smarty ma dell' htm generato dai template.
Potresti postare l'html o indicare il link della pagina nella quale riscontri l' errore.
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Language: Italian All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP