Ever wonder why, when using Internet Explorer, the text size and other characteristics of the Print and Email Popups, and the Offline Page has a different look than other pages of your site. Well, in Joomla! Versions 1.0.x, the first line of Print and Email popup HTML pages looks like this:
Well, IE has a bug that causes it to go into "Quirks Mode" if this is the case...and that messes up the page rendering.
You can fix this by making a simple hack to the index2.php and offline.php files:
find this in the files ( ~line 123 in index2.php; ~line 63 in offline.php)
// xml prolog
echo '';
and change it to this:
// xml prolog
// echo '';
And don't foget to keep track of this hack, as it will be overwritten by the next Joomla! update you apply
Why does IE corrupt styling of Print, Email Popups and Offline Page?
Moderator: mcsmom
Why does IE corrupt styling of Print, Email Popups and Offline Page?
If you need a helping hand, use the one at the end of your own arm.
www.hrpr.com
www.hrpr.com
Re: Why does IE corrupt styling of Print, Email Popups and Offline Page?
Fantastic! Thanks!
I also found this code to be in the offlinebar.php file. Should this hack be applied to that file as well?
[UPDATE]:
I applied this hack to the two files mentioned above and it didn't seem to work??
I did notice something else strange... When looking at the source of the email pop-up, it has the CSS code listed twice:
I also found this code to be in the offlinebar.php file. Should this hack be applied to that file as well?
[UPDATE]:
I applied this hack to the two files mentioned above and it didn't seem to work??
I did notice something else strange... When looking at the source of the email pop-up, it has the CSS code listed twice:
Code: Select all
<link rel="stylesheet" href="templates/cms/css/template_css.css" type="text/css" />
<link rel="stylesheet" href="templates/cms/css/template_css.css" type="text/css" />
Last edited by Stone`` on Sat Jun 03, 2006 11:23 pm, edited 1 time in total.