Mysterious Out of alignment problem for some IE browsers |
11/9/2011 6:59:37 AM |
PHPRunner General questions | |
A
acpan author
Hi, |
|
C
|
cgphp 11/9/2011 |
Instead of echo the text directly to the page, try to assign the text to a template var (http://xlinesoft.com/phprunner/docs/smarty_templates.htm) in the "Before display" event. |
A
|
acpan author 11/9/2011 |
Instead of echo the text directly to the page, try to assign the text to a template var (http://xlinesoft.com/phprunner/docs/smarty_templates.htm) in the "Before display" event.
|
C
|
cgphp 11/9/2011 |
In the Visual editor of edit page, switch to HTML edit and where you want to see the text enter a new template var like: {$my_demo_text}
$text = "This is a demo text,This is a demo text,This is a demo text,This is a demo text,This is a demo text,This is a demo text,This is a demo text,This is a demo text"; |
A
|
acpan author 11/9/2011 |
Thanks Christian, |
C
|
cgphp 11/9/2011 |
Where do you add the text (div, td, span) ? Do you get some info from firebug ? Could you post a demo link ? |
A
|
acpan author 11/9/2011 |
Where do you add the text (div, td, span) ? Do you get some info from firebug ? Could you post a demo link ?
|
C
|
cgphp 11/9/2011 |
It's not a good practice echoing something before the HTML tag. Did you try to add the above template var in the body of the html page ? |
A
|
acpan author 11/9/2011 |
It's not a good practice echoing something before the HTML tag. Did you try to add the above template var in the body of the html page ?
|
A
|
acpan author 11/9/2011 |
Hi, |
![]() |
Sergey Kornilov admin 11/9/2011 |
Good point, we have to add BeforeDisplay event to import page as well. |
A
|
acpan author 11/9/2011 |
Good point, we have to add BeforeDisplay event to import page as well. Right now yo have to sacrifice the Import page alignment in case of import errors. The good thing it happens in IE only.
|