I've 1 template which has two posts.playing 250px width and right with 700px width.i would like when component Ad banners known as,Joomla only show one column with 950px width.how you can the work?many thanks. Sometimes with joomla1.7

I've another solution for you personally. Allows call your positions left, primary and banner. Here's what you ought to do (or the way i would get it done).

First, and also hardwearing . template clean, create new file vars.php inside your template's root folder. This file consists of:

$mainWidth = 950;
if ($this->countModules( 'left' )):
$mainWidth = $mainWidth - 250;
endif;

Include file vars.php inside your template's index.php file:

 <?php require_once('vars.php'); ?>

Alter the primary container div to: px">

Alter the left container input:

<?php if ($this->countModules( 'left' )) : ?>
<div id="left"><jdoc:include type="modules" name="left" /></div>
<?php endif; ?>

Now simply switch off all modules within the left position, for ad banners component. :)