Форум » Система построения сайтов » Темы оформления » Правый блок поднимается вверх на место лого
Открыть Ответить

Правый блок поднимается вверх на место лого

0

0

1
04.02.2009 14:23:31

Правый блок поднимается вверх на место лого
При установки стандартной темы, правый блок съезжает вниз на место футера . Кто подскажет, где копать?

Трабла

displey
displey
2
04.02.2009 14:30:43

Если стандартная то странно что съезжает, но копать надо в самой тебе в индексе по идеи.

Nark
Nark
3
05.02.2009 06:26:35

Если стандартная то странно что съезжает, но копать надо в самой тебе в индексе по идеи.

Перепроверяю индекс, ничего необычного не вижу :(
вродь все нормально

Код
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
{%HEAD%}
<script language="JavaScript" type="text/javascript">
date = new Date();
a = date.getHours();
if (a > 7 && a < 21) {
	document.write("<link rel='stylesheet' href='templates/$ThemeSel/css/header_day.css' type='text/css'>");
}
</script>
<script language="JavaScript" type="text/javascript">
<!--
function bookmark() {
	if (window.sidebar) {
		window.sidebar.addPanel("$sitename", "$homeurl","");
	} else if (document.all) {
		window.external.AddFavorite("$homeurl", "$sitename");
	}
}
// -->
</script>
</head>

<body id="page_bg">
<div id="pbg1"><div id="pbg2"><div id="pbg3"><div id="pbg4">
<div class="wrapper">
<div id="tophead">
	<div class="toolbar">
	<div class="searchform">
		<form action="index.php?name=search" name="SeatchForm" method="post">
		<input type="text" name="word" value="$harg[11]..." onblur="if(this.value=='') this.value='$harg[11]...';" onfocus="if(this.value=='$harg[11]...') this.value='';" class="inputstyle">
		<a href="Java Scriptdocument.SeatchForm.submit();" class="btn">$harg[11]</a>
		</form>
	</div>
		<span class="register">
		$theuser
		</span>
	</div>
</div>

<!-- HEADER -->
<div id="header"><div class="dleft"><div class="dright">
	<!-- LOGOTYPE -->
	<a href="$homeurl" title="$sitename" id="logotype" style="background-image: url(templates/$ThemeSel/images/$site_logo);" >
	<img src="templates/$ThemeSel/images/spacer.png" border="0" width="450" height="111" alt="$sitename" />
	</a>
	<div id="banner">
	{%BLOCKS banner%}
	</div>
</div></div></div>

<!-- MENU -->
<div id="menuhead"><div class="dleft"><div class="dright">
	<a href="index.php" title="$harg[0]">$harg[0]</a>
	<a href="index.php?name=account" title="$harg[3]">$harg[3]</a>
	<a href="index.php?name=contact" title="$harg[9]">$harg[9]</a>
	<a href="index.php?name=recommend" title="$harg[10]">$harg[10]</a>
	<a href="index.php?name=search" title="$harg[11]">$harg[11]</a>
	$startseite $harg[5]</a>
	<a href="#" OnClick="Java Scriptbookmark();" title="$harg[4]">$harg[4]</a>
</div></div></div>

<div class="s-left"><div class="s-right">
<div class="s-top"><div class="s-bottom">

	<div id="container">
		<div id="leftbox">{%BLOCKS left%}</div>
		<div id="mainbox">
			<div id="maincontent">
			{%BLOCKS message%}
			{%BLOCKS center%}
			{%MODULE%}
			{%BLOCKS down%}
			</div>
			<div id="rightbox">
			{%BLOCKS right%}
			</div>
		</div>
	</div>

</div></div>
</div></div>
<div class="clr"></div>

<div id="menufoot"><div class="dleft"><div class="dright">
	<a href="index.php" title="$farg[0]"><b>$farg[0]</b></a>
	<a href="index.php?name=news" title="$farg[1]"><b>$farg[1]</b></a>
	<a href="index.php?name=account" title="$farg[3]"><b>$farg[3]</b></a>
	<a href="index.php?name=contact" title="$farg[9]"><b>$farg[9]</b></a>
	<a href="index.php?name=recommend" title="$farg[10]"><b>$farg[10]</b></a>
</div></div></div>

<!-- FOOTER -->
<div id="footer"><div class="dleft"><div class="dright">
	<div class="copyright">{%LICENSE%}<br>Design by <a href="http://www.centroarts.com" target="_blank" title="Centroarts">Centroarts</a> &copy; 2008 Creative Studio. All rights reserved.<br></div>
	<div class="count">
		{%BLOCKS foot%}
		<span><!-- count 1 88x31px --></span>
		<span><!-- count 2 88x31px --></span>
		<span><!-- count 3 88x31px --></span>
		<span><!-- count 4 88x31px --></span>
	</div>
</div></div></div>
<!-- FOOTER END-->

<div align="right">
{%BLOCKS time%}
{%BLOCKS variables%}
{%BLOCKS query%}
</div>
<!-- WRAPPER END-->
</div>

<!-- PAGE BG1,BG2,BG3,BG4 & SUN END-->
</div></div></div></div>
</body></html
displey
displey
4
05.02.2009 07:09:32

Странно как то тема написана. Не мудрено что выводится криво. заново надо индекс писать как по мне.

Nark
Nark
5
05.02.2009 08:08:37

А вот индекс от темы олестудио, тоже ничего необычного незаметил. Странно, что и стандартной теме и в позже прикрепляемой ошибка связана с правым блоком

Код
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
{%HEAD%}
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="100%" cellspacing="0" cellpadding="0" border="0"><tr><td align="center" valign="top">
<table width="100%" border="0" cellspacing="0" cellpadding="0" background="templates/olestudio/images/ole03.gif">
<tr><td height="96" width="13"><img src="templates/olestudio/images/ole01.gif" width="13" height="124" border="0" alt="$sitename"></td><td>
<table width="247" cellspacing="0" cellpadding="0" border="0">
<tr><td><a href="index.php" title="$sitename"><img src="images/logos/$site_logo" border="0" alt="$sitename"></a></td></tr>
</table></td>
<td valign="middle" align="right">
<table width="468" cellspacing="0" cellpadding="0" border="0">
<tr><td>$public_msg </td></tr>
<tr><td>{%BLOCKS banner%}</td></tr></table>
</td></tr></table>
<table width="100%" cellspacing="0" cellpadding="0" border="0">
<tr><td background="templates/olestudio/images/ole07.gif"><img src="templates/olestudio/images/ole07.gif" width="23" height="7" border=0></td></tr>
<tr><td>
<table width="100%" border="0" background="templates/olestudio/images/ole08.gif" cellspacing="0" cellpadding="0">
<tr><td width="23" height="23"><img src="templates/olestudio/images/ole04.gif" width="23" height="23" border=0></td>
<td width="200"></td>
<td align="right"><a href="index.php" title="$s_home"><b><font color="#ffffff">$s_home</font></b></a> | <a href="index.php?name=account" title="$s_profil"><b><font color="#ffffff">$s_profil</font></b></a> | <a href="index.php?name=files" title="Каталог файлов"><b><font color="#ffffff">Каталог файлов</font></b></a> | <a href="index.php?name=recommend" title="$s_recomm"><b><font color="#ffffff">$s_recomm</font></b></a> | <a href="index.php?name=contact" title="$s_feed"><b><font color="#ffffff">$s_feed</font></b></a> &nbsp;</td>
</tr></table></td></tr>
<tr><td background="templates/olestudio/images/ole09.gif"><img src="templates/olestudio/images/ole09.gif" width="7" height="20" border=0></td></tr></table>
<table width="1000px" cellspacing="0" cellpadding="0" border="0" align="center"><tr><td valign="top">
<td style="vertical-align: top; width: 165px;">
{%BLOCKS left%}
</td><td style="vertical-align: top; width: 100%;">
{%BLOCKS message%}
{%BLOCKS center%}
{%MODULE%}
{%BLOCKS down%}
</td><td style="vertical-align: top; width: 165px;">
{%BLOCKS right%}
</td>
</td></tr></table><table width="100%" border="0" cellspacing="5" cellpadding="5" background="templates/olestudio/images/ole03.gif"><tr>
<td align="center"><a href="index.php" title="$s_home"><b>$s_home</b></a> | <a href="index.php?name=news" title="$s_news"><b>$s_news</b></a> | <a href="index.php?name=forums" title="$s_forum"><b>$s_forum</b></a> | <a href="index.php?name=Topics" title="$s_topic"><b>$s_topic</b></a> | <a href="index.php?name=faq" title="$s_faq"><b>$s_faq</b></a> | <a href="index.php?name=recommend" title="$s_recomm"><b>$s_recomm</b></a> | <a href="index.php?name=contact" title="$s_feed"><b>$s_feed</b></a></td></tr><tr><td align="center">{%BLOCKS foot%}<br>{%LICENSE%}<br>{%BLOCKS time%}</td></tr></table>
{%BLOCKS variables%}
{%BLOCKS query%}
</body></html>
displey
displey
6
05.02.2009 08:31:14 05.02.2009 08:32:43

ну а если так?

Но эта тема уже написана нормально.

Код
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
{%HEAD%}
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="100%" cellspacing="0" cellpadding="0" border="0"><tr><td align="center" valign="top">
<table width="100%" border="0" cellspacing="0" cellpadding="0" background="templates/olestudio/images/ole03.gif">
<tr><td height="96" width="13"><img src="templates/olestudio/images/ole01.gif" width="13" height="124" border="0" alt="$sitename"></td><td>
<table width="247" cellspacing="0" cellpadding="0" border="0">
<tr><td><a href="index.php" title="$sitename"><img src="images/logos/$site_logo" border="0" alt="$sitename"></a></td></tr>
</table></td>
<td valign="middle" align="right">
<table width="468" cellspacing="0" cellpadding="0" border="0">
<tr><td>$public_msg </td></tr>
<tr><td>{%BLOCKS banner%}</td></tr></table>
</td></tr></table>
<table width="100%" cellspacing="0" cellpadding="0" border="0">
<tr><td background="templates/olestudio/images/ole07.gif"><img src="templates/olestudio/images/ole07.gif" width="23" height="7" border=0></td></tr>
<tr><td>
<table width="100%" border="0" background="templates/olestudio/images/ole08.gif" cellspacing="0" cellpadding="0">
<tr><td width="23" height="23"><img src="templates/olestudio/images/ole04.gif" width="23" height="23" border=0></td>
<td width="200"></td>
<td align="right"><a href="index.php" title="$s_home"><b><font color="#ffffff">$s_home</font></b></a> | <a href="account.html" title="$s_profil"><b><font color="#ffffff">$s_profil</font></b></a> | <a href="files.html" title="Каталог файлов"><b><font color="#ffffff">Каталог файлов</font></b></a> | <a href="recommend.html" title="$s_recomm"><b><font color="#ffffff">$s_recomm</font></b></a> | <a href="contact.html" title="$s_feed"><b><font color="#ffffff">$s_feed</font></b></a> &nbsp;</td>
</tr></table></td></tr>
<tr><td background="templates/olestudio/images/ole09.gif"><img src="templates/olestudio/images/ole09.gif" width="7" height="20" border=0></td></tr></table>
<table width="1000px" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td valign="top">
    <td style="vertical-align: top; width: 165px;"> <div align="center">{%BLOCKS left%} </div></td>
    <td style="vertical-align: top; width: 100%;"> {%BLOCKS message%}
      {%BLOCKS center%}
      {%MODULE%}
      {%BLOCKS down%} </td>
    <td style="vertical-align: top; width: 165px;"> <div align="center">{%BLOCKS right%} </div></td>
</table>
<table width="100%" border="0" cellspacing="5" cellpadding="5" background="templates/olestudio/images/ole03.gif"><tr>
<td align="center"><a href="index.php" title="$s_home"><b>$s_home</b></a> | <a href="news.html" title="$s_news"><b>$s_news</b></a> | <a href="forum.htmls" title="$s_forum"><b>$s_forum</b></a> | <a href="index.php?name=Topics" title="$s_topic"><b>$s_topic</b></a> | <a href="faq.html" title="$s_faq"><b>$s_faq</b></a> | <a href="recommend.html" title="$s_recomm"><b>$s_recomm</b></a> | <a href="contact.html" title="$s_feed"><b>$s_feed</b></a></td></tr><tr><td align="center">{%BLOCKS foot%}<br>{%LICENSE%}<br>{%BLOCKS time%}</td></tr></table>
{%BLOCKS variables%}
{%BLOCKS query%}
</body></html>
Nark
Nark
7
05.02.2009 08:48:45 07.02.2009 09:57:15

без изменений , как лезло наверх так и лезет.

displey
displey
Открыть Ответить
Хотите опробовать SLAED CMS в действии?
Идеи и предложения
Обратная связь
Подтверждение

Поделиться
QR-код

Предварительный просмотр