|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
raoh980 Smarty Rookie
Joined: 13 May 2008 Posts: 7
|
Posted: Tue May 13, 2008 10:39 pm Post subject: Problem with IE |
|
|
I have problem with IE and Smarty
Try to take a look here with IE
http://www.minorleague.it/ml_5/player.php?act=dir
and then with Firefox, Opera, Safari etc.
The right menu in IE is a mess.
I'm sure that the problem is "triggered" by Smarty, because if I copy all the html code in a new page, without using the smarty engine, all works fine even in IE.
I use the include command to insert the menu code, because if I change it, i have to modify only one file .tpl
Code: | <div id="sidebar1">
{include file="menu.tpl"}
<!-- end #sidebar1 --></div> |
In some way there's a problem when the html code is generated, i think.
Why this, but most importantly, how can i avoid it ?
Thanks and sorry for the bad english! |
|
Back to top |
|
shannera Administrator
Joined: 13 Feb 2006 Posts: 802 Location: Edertal, Germany
|
Posted: Wed May 14, 2008 11:35 am Post subject: |
|
|
Compare the HTML code generated by Smarty with the HTML code that works fine in your browser with an appopiate diff/comparison tool, and then see whats different.
Smarty don't know about browsers and even nothing about HTML, you can use Smarty to generate plaintext, XML, HTML and any other text-based files, so all depends on your templates and the generated output. So in your case, it's most likely there is an error in your templates. |
|
Back to top |
|
|
|
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
|