| Здравствуйте. Недавно открывал тему об установке баннере у себя на сайте. Поставил, спасибо всем, кто откликнулся. Из-за неопытности возникла очередная проблема: не знаю, как выравнить баннер по центру. Как сейчас стоит можно глянуть здесь: http://businessforwomen.ru Прикрепляю код header.php в который вставлен код баннера (выделен синим):
Код: <!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" <?php language_attributes(); ?>>
<head profile="http://gmpg.org/xfn/11">
<meta name='yandex-verification' content='408a823e746cbed7' />
<meta name="google-site-verification" content="AGtONweMgWrGb0M7L33MWAeMb9OVBz0ocwY6-bjTZkU" />
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
<title><?php if (function_exists('seo_title_tag')) { seo_title_tag(); } else { bloginfo('name'); wp_title();} ?></title>
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
<?php wp_enqueue_script('jquery'); ?>
<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<?php if ( is_singular() ) wp_enqueue_script( 'comment-reply' ); ?>
<?php wp_head(); ?>
<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/tabs.js"></script>
<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/script.js"></script>
<link rel="shortcut icon" href="<?php bloginfo('template_directory'); ?>/i/favicon.ico" /></link>
<script type="text/javascript">if (parent.frames.length > 0)top.location.replace(document.location);</script>
</head>
<body>
<noindex><!--LiveInternet counter--><script type="text/javascript"><!--
new Image().src = "//counter.yadro.ru/hit?r"+
escape(document.referrer)+((typeof(screen)=="undefined")?"":
";s"+screen.width+"*"+screen.height+"*"+(screen.colorDepth?
screen.colorDepth:screen.pixelDepth))+";u"+escape(document.URL)+
";"+Math.random();//--></script><!--/LiveInternet--></noindex>
<div id="wrapper">
<div id="header">
<h1 class = "site-name"><a href="<?php bloginfo('url');?>"><?php bloginfo('name');?></a></h1>
<h1 class = "site-desc"><?php bloginfo('description');?></h1>
<ul id="nav">
<li<?php if(is_home()) echo ' class="current_page_item"' ?>><a href="<?php bloginfo('url'); ?>/"><span>Главная</span><div class = "nav-end"></div></a></li>
<?php w3l_tl_pages($before = '', $between = '', $after = '', $exclude = '', $inbefore = '<span>', $inafter = '</span><div class = "nav-end"></div>') ?>
</ul>
<form method="get" action="<?php bloginfo('url'); ?>/" id="search">
<input type="text" value="поиск по блогу" onblur="if(this.value=='') this.value='поиск по блогу';" onfocus="if(this.value=='поиск по блогу') this.value='';" name="s" class="search" />
<input type="submit" value="" class="go" />
</form>
</div><!-- #header-->
<div id="flashContent">
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="468" height="60" id="468x60_franchise_1" align="middle">
<param name="movie" value="468x60_franchise_1.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#ffffff" />
<param name="play" value="true" />
<param name="loop" value="true" />
<param name="wmode" value="window" />
<param name="scale" value="showall" />
<param name="menu" value="true" />
<param name="devicefont" value="false" />
<param name="salign" value="" />
<param name="allowScriptAccess" value="sameDomain" />
<!--[if !IE]>-->
<object type="application/x-shockwave-flash" data="468x60_franchise_1.swf" width="468" height="60">
<param name="movie" value="468x60_franchise_1.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#ffffff" />
<param name="play" value="true" />
<param name="loop" value="true" />
<param name="wmode" value="window" />
<param name="scale" value="showall" />
<param name="menu" value="true" />
<param name="devicefont" value="false" />
<param name="salign" value="" />
<param name="allowScriptAccess" value="sameDomain" />
<!--<![endif]-->
<a href="http://www.adobe.com/go/getflash">
<img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" />
</a>
<!--[if !IE]>-->
</object>
<!--<![endif]-->
</object>
<div id="middle">
<div id="container">
<div id="content"> Заранее благодарю за помощь! |