Всем здравствуйте!Как можно зделать на шаблоне joomla резиновую шапку?Я уже пробовал width ставить в % не помогло.Шаблон зделан на artisteer 3.За помощ буду очень благодарен! Вот код: Index.php Код (PHP): <?php /** * Template for Joomla! CMS, created with Artisteer. * See readme.txt for more details on how to use the template. */ defined('_JEXEC') or die; require_once dirname(__FILE__) . DIRECTORY_SEPARATOR . 'functions.php'; // Create alias for $this object reference. $document = & $this; $templateUrl = $document->baseurl . '/templates/' . $document->template; artxComponentWrapper($document); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $document->language; ?>" lang="<?php echo $document->language; ?>" > <head> <jdoc:include type="head" /> <link rel="stylesheet" href="<?php echo $document->baseurl; ?>/templates/system/css/system.css" type="text/css" /> <link rel="stylesheet" href="<?php echo $document->baseurl; ?>/templates/system/css/general.css" type="text/css" /> <link rel="stylesheet" type="text/css" href="<?php echo $templateUrl; ?>/css/template.css" media="screen" /> <!--[if IE 6]><link rel="stylesheet" href="<?php echo $templateUrl; ?>/css/template.ie6.css" type="text/css" media="screen" /><![endif]--> <!--[if IE 7]><link rel="stylesheet" href="<?php echo $templateUrl; ?>/css/template.ie7.css" type="text/css" media="screen" /><![endif]--> <script type="text/javascript" src="<?php echo $templateUrl; ?>/jquery.js"></script> <script type="text/javascript">jQuery.noConflict();</script> <script type="text/javascript" src="<?php echo $templateUrl; ?>/script.js"></script> </head> <body> <div id="art-page-background-glare"> <div id="art-page-background-glare-image"> <div id="art-main"> <div class="art-sheet"> <div class="art-sheet-tl"></div> <div class="art-sheet-tr"></div> <div class="art-sheet-bl"></div> <div class="art-sheet-br"></div> <div class="art-sheet-tc"></div> <div class="art-sheet-bc"></div> <div class="art-sheet-cl"></div> <div class="art-sheet-cr"></div> <div class="art-sheet-cc"></div> <div class="art-sheet-body"> <div class="art-header"> <div class="art-header-center"> <div class="art-header-jpeg"></div> </div> </div> <jdoc:include type="modules" name="user3" /> <jdoc:include type="modules" name="banner1" style="artstyle" artstyle="art-nostyle" /> <?php echo artxPositions($document, array('top1', 'top2', 'top3'), 'art-block'); ?> <div class="art-content-layout"> <div class="art-content-layout-row"> <?php if (artxCountModules($document, 'left')) : ?> <div class="art-layout-cell art-sidebar1"> <?php echo artxModules($document, 'left', 'art-block'); ?> <div class="cleared"></div> </div> <?php endif; ?> <?php $contentCellStyle = artxCountModules($document, 'left') ? 'content' : 'content-wide'; ?> <div class="art-layout-cell art-<?php echo $contentCellStyle; ?>"> <?php echo artxModules($document, 'banner2', 'art-nostyle'); if (artxCountModules($document, 'breadcrumb')) echo artxPost(artxModules($document, 'breadcrumb')); echo artxPositions($document, array('user1', 'user2'), 'art-article'); echo artxModules($document, 'banner3', 'art-nostyle'); ?> <?php if (artxHasMessages()) : ?><div class="art-post"> <div class="art-post-cc"></div> <div class="art-post-body"> <div class="art-post-inner"> <div class="art-postcontent"> <jdoc:include type="message" /> </div> <div class="cleared"></div> </div> <div class="cleared"></div> </div> </div> <?php endif; ?> <jdoc:include type="component" /> <?php echo artxModules($document, 'banner4', 'art-nostyle'); ?> <?php echo artxPositions($document, array('user4', 'user5'), 'art-article'); ?> <?php echo artxModules($document, 'banner5', 'art-nostyle'); ?> <div class="cleared"></div> </div> </div> </div> <div class="cleared"></div> <?php echo artxPositions($document, array('bottom1', 'bottom2', 'bottom3'), 'art-block'); ?> <jdoc:include type="modules" name="banner6" style="artstyle" artstyle="art-nostyle" /> <div class="art-footer"> <div class="art-footer-t"></div> <div class="art-footer-l"></div> <div class="art-footer-b"></div> <div class="art-footer-r"></div> <div class="art-footer-body"> <?php echo artxModules($document, 'syndicate'); ?> <div class="art-footer-text"> <?php if (artxCountModules($document, 'copyright') == 0): ?> <?php ob_start(); ?> <p>filterok.net</p><p>Copyright В© %YEAR%. All Rights Reserved</p> <?php echo str_replace('%YEAR%', date('Y'), ob_get_clean()); ?> <?php else: ?> <?php echo artxModules($document, 'copyright', 'art-nostyle'); ?> <?php endif; ?> </div> <div class="cleared"></div> </div> </div> <div class="cleared"></div> </div> </div> <div class="cleared"></div> </div> </div> </div> </body> </html> CSS template.css
background-image: url("http://filterok.net/templates/water/images/header.jpg"); эта картинка весит очень много и не нужно ее растягивать на всю! нужно просто залить бэкграунд цветом #2A4272 egor11223, пропиши вот это в css Код (html): background: url('../images/header.jpg') #2A4272;