0.00
Рейтинг
0.00
Сила

CSS: Вопрос о "разширяюшемся" #wrapper

Господа Гуру LS и CSS, подскажите пожалуйста. У меня следующая проблема.

Я сделал весь сайт шириной 980px. То есть:

/* Generic Blocks
-------------------------------------------------------------------*/
#container { min-width: 980px;  }
#header { height: 100px; clear: both; overflow: hidden; zoom: 1; width: 980px; margin-left: auto; margin-right: auto;}
#nav { clear: both; background: #e8e8e8; }
#wrapper { width:980px; background: #fff; margin-left: auto; margin-right: auto; overflow: hidden; zoom: 1; padding: 20px 46px 30px 20px; margin-bottom: 5px; }
#content { width: 67%; background: #fff; float: left; clear: left; padding-top: 20px; padding-bottom: 20px; zoom: 1; }
#sidebar { width: 31%; float: left; margin-left: 2%; margin-top: -6px; }
#footer { background: url(../images/_background/footer.gif) repeat-x top left; color: #999; height: 342px;padding-right:
 50px;}


Всё выглядит отлично, но когда я захожу в какой-то конкретный топик #wrapper, то есть место где пишется текст топика, сайдбар и комменты — становится ШИРЕ на примерно 20px с право и с лево! Как такое может быть и где поправить? оО

Smarty error: unable to read resource

Warning: Smarty error: unable to read resource: "'header.tpl'" in C:\Program Files\EasyPHP 3.0\www\classes\lib\external\Smarty-2.6.19\libs\Smarty.class.php on line 1092

Warning: Smarty error: unable to read resource: "'topic_list.tpl'" in C:\Program Files\EasyPHP 3.0\www\classes\lib\external\Smarty-2.6.19\libs\Smarty.class.php on line 1092

Warning: Smarty error: unable to read resource: "'footer.tpl'" in C:\Program Files\EasyPHP 3.0\www\classes\lib\external\Smarty-2.6.19\libs\Smarty.class.php on line 1092

— PHP version: 5.2.8

Запускаю — <?php
$smarty = new Smarty();
$smarty->template_dir = «templates/skin/new»;
$myfile = $smarty->template_dir. "/header.tpl";
readfile($myfile);
?>

Получаю —
{if $aHtmlRssAlternate} {/if} {literal} {/literal}
{include file=header_top.tpl} {include file=header_nav.tpl}
{if !$noShowSystemMessage} {include file='system_message.tpl'} {/if}

— Куда копать, господа?