Показать полную графическую версию : header
scorpion456
30-01-2012, 11:34
Помогите разобраться...
вот ссылка на сайт http://www.gksyzran.ru/
Вверху где название ОУ... логотип...он по-видимому является еще и ссылкой.. но фон этого
логотипа другого цвета... чем остальная цветовая схема...как мне избавиться от этого квадрата вокруг лого?
манипуляции с logo.jpg в фотошопе не помогают...
манипуляции с logo.jpg »
так этот формат прозрачность не поддерживает, переведите его в gif или png и делайте фон прозрачным
scorpion456
02-02-2012, 00:11
так этот формат прозрачность не поддерживает, переведите его в gif или png и делайте фон прозрачным »
перевел в png ..и подредактировал index.php
<div class="art-Header-png"><br>     <a href="/index.php"><img src="images/logo.png" height="105" wight="105" border="0"></a></div>
но после этого логотип вообще не отображается... может еще где-то отредактировать надо?
после этого логотип вообще не отображается »
В каком браузере? Попробуйте в gif - он тоже прозрачность поддерживает.
scorpion456
02-02-2012, 13:37
В каком браузере? » В Мозилле...
Попробуйте в gif - он тоже прозрачность поддерживает »
с ним такая же история...
o-firewall
06-02-2012, 05:29
Дело не только в прозрачности, у тебя там границы поехали.
scorpion456
07-02-2012, 10:38
я так понимаю, index.php надо редактировать...только где?
меняю параметры border в строке:
<div class="art-Header-jpeg"><br>     <a href="/index.php"><img src="images/logo.jpg" height="105" wight="105" border="0"></a></div>
ничего не дает...
<?php
defined('_JEXEC') or die('Restricted access'); // no direct access
require_once dirname(__FILE__) . DIRECTORY_SEPARATOR . 'functions.php';
$document = null;
if (isset($this))
$document = & $this;
$baseUrl = $this->baseurl;
$templateUrl = $this->baseurl . '/templates/' . $this->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 $this->language; ?>" lang="<?php echo $this->language; ?>" >
<head>
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<jdoc:include type="head" />
<link rel="stylesheet" href="<?php echo $this->baseurl; ?>/templates/system/css/system.css" type="text/css" />
<link rel="stylesheet" href="<?php echo $this->baseurl; ?>/templates/system/css/general.css" type="text/css" />
<link rel="stylesheet" type="text/css" href="<?php echo $templateUrl; ?>/css/template.css" />
<!--[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; ?>/script.js"></script>
</head>
<body>
<div id="wind">
Содержание всплывающего окна.
<button type="button" value="закрыть" onclick="document.getElementById('wind').style.display='none'; return false;">
закрыть</button>
</div>
<div id="art-page-background-gradient"></div>
<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-png"></div>
<div class="art-Header-jpeg"><br>     <a href="/index.php"><img src="images/logo.jpg" height="105" wight="105" border="0"></a></div>
<div class="art-Logo">
<!--<h1 id="name-text" class="art-Logo-name"><a href="<?php echo $baseUrl; ?>/"><?php echo $mainframe->getCfg('sitename') ?></a></h1>-->
<!--<div id="slogan-text" class="art-Logo-text"><?php echo $mainframe->getCfg('MetaDesc') ?></div>-->
</div>
</div>
<jdoc:include type="modules" name="user3" />
<jdoc:include type="modules" name="banner1" style="artstyle" artstyle="art-nostyle" />
<?php include("includes/cp.php"); ?>
<?php echo artxPositions($document, array('top1', 'top2', 'top3'), 'art-block'); ?>
<div class="art-contentLayout">
<?php if (artxCountModules($document, 'left')) : ?>
<div class="art-sidebar1"><?php echo artxModules($document, 'left', 'art-block'); ?>
</div>
<?php endif; ?>
<div class="art-<?php echo artxGetContentCellStyle($document); ?>">
<?php
echo artxModules($document, 'banner2', 'art-nostyle');
if (artxCountModules($document, 'breadcrumb'))
echo artxPost(null, 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-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>
<?php if (artxCountModules($document, 'right')) : ?>
<div class="art-sidebar2"><?php echo artxModules($document, 'right', 'art-block'); ?>
</div>
<?php endif; ?>
</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-inner">
<?php echo artxModules($document, 'syndicate'); ?>
<div class="art-Footer-text">
<?php echo artxModules($document, 'footer'); ?>
</div>
</div>
<div class="art-Footer-background"></div>
</div>
<div class="cleared"></div>
</div>
</div>
<div class="cleared"></div>
<div style="font-size: 10px; text-align: center;"><a href="http://www.gristar.ru/services/website-create" target="_blank">Разработка и создание сайта</a> - www.GriStar.ru</div>
</div>
</body>
</html>
Vladimir Tochilin
18-04-2012, 18:40
scorpion456,
"меняю параметры border в строке"
Если вы сделали логотип прозрачным - тогда может не надо менять параметры (размеры) блока - фон все равно будет невидимым.
© OSzone.net 2001-2012
vBulletin v3.6.4, Copyright ©2000-2025, Jelsoft Enterprises Ltd.