• Страница 1 из 1
  • 1
Как сделать на ровне с блоками? =\

[Pro]Fan
Пользователи
Сообщений 72
+
0
-
Ваши награды 1
Вот посмотрите как зделать середину на равне с блоками.....

У меня щяс - http://i051.radikal.ru/1104/8c/85a187da773a.png

А нада - (тоесть поднять середину на уровень блоков)

Вот сама страница:

Code
<html>
<head>
<title>OutsiteZ.neT</title>
<link type="text/css" rel="StyleSheet" href="/_st/my.css" />
   

</head>
<?if $USER_LOGGED_IN$?>  
<script type="text/javascript">  
function alertPm(n){_uWnd.alert('Для Вас есть новые личные сообщения<br><br>' + _uButton(null,'b',{content: 'onclick="ucodesru.init();_uWnd.close(\'alertPm\');"', text: 'Показать сообщения'}), 'Сообщения ('+n+')', {name: 'alertPm', w: 250, h: 100, tm: 0});}  
var _intPm = setInterval(function(){$.get("/index/14", function(pm){var __n = $("b.unread", pm).size(); if ( __n > 0 ) $.getScript("/js/pm.js", function(){ alertPm(__n); }), clearInterval(_intPm)})}, 20*1000);  
</script>
<?endif?>
<?if(!$USER_LOGGED_IN$)?>  
<script type="text/javascript">  
window.onload = function PlsReg() {openLayerB('PlsReg',0,'/xml/PlsReg.xml','Внимание',335,300,1,0,0);}  
</script>  
<?endif?>
<style type="text/css"> @import url('/u_wind/ajax.css') all; </style>
<center>
<body class="bodys">
<div class="bbody">
  <script src="/js/gamesblock.js" type="text/javascript"></script> <div id="toTop" class="toTop"></div> <script type="text/javascript"> $(function() { $("#toTop").scrollToTop(); }); </script> <div id="footer">
<script>jQuery(function(){$("#banners img").hover(function(){$(this).stop().animate({opacity:'1.0'})},function(){$(this).stop().animate({opacity:'.5'})});});</script><style>#banners img{opacity:.5;filter:alpha(opacity=50)}</style>
<style>
/* === jQ TOP === */  
.toTop {width:54px; height:36px; display:block; text-align:center; text-decoration:none; background:#ffffff url(/images/icon_up.png) no-repeat 0 0;}  
.toTop:hover {width:54px; height:36px; display:block; text-align:center; text-decoration:none; background:#ffffff url(/images/icon_up2.png) no-repeat 0 0px;}
/* =============== */
</style>

  <style>  
/* hint menu */
.hint{-moz-border-radius:3px;-webkit-border-radius:3px; border-radius:3px; background-color:#565656;line-height:10px;color:#fff;font-family:tahoma;font-size:8pt;width:auto;border:1px solid #f8962e;margin:1px;padding:6px;position:absolute;visibility:hidden; z-index:100; -moz-box-shadow:1px 1px 5px #000; box-shadow:1px 1px 5px #000;-webkit-box-shadow:1px 1px 5px #000;}
/* ---------------- */

</style>  
   

<script>  
// Автор Скрипта: Danil Aka Fenik$  
//Hint Start  
// CLASS : MW_System_Load  
// Init  
function MW_System_Load(){  
this.wib = screen.width;  
this.heb = screen.height;  
this.documes = (document.getElementById || document.createElement || document.getElementsByTagName) ? true : false;  
this.objects = window.addEventListener || window.attachEvent ? window : document.addEventListener ? document : null;  
this.types = 'load';  
}  
MW_System_Load.prototype.addsevent = function(func){  
if(this.objects.addEventListener){  
this.objects.addEventListener(this.types,func,false);  
return true;  
} else if (this.objects.attachEvent){  
this.objects.attachEvent("on" + this.types,func);  
} else {  
return false;  
}  
}  
MW_System_Load.prototype.browser = function(){  
this.ver = navigator.appVersion;  
this.agent = navigator.userAgent.toLowerCase();  
this.dom = document.getElementById ? 1:0;  
this.all = document.all ? 1:0;  
this.ie5 = (this.ver.indexOf("MSIE 5")>-1 && this.dom) ? 1:0;  
this.ie6 = (this.ver.indexOf("MSIE 6")>-1 && this.dom) ? 1:0;  
this.ie4 = (document.all && !this.dom) ? 1:0;  
this.ie = this.ie4 || this.ie5 || this.ie6;  
this.opera = this.agent.indexOf("opera")>-1;  
this.gecko = (this.agent.indexOf("gecko")!=-1) ? 1:0;  
this.bw = (this.ie || this.opera || this.gecko);  
return this;  
}  
MW_System_Load.prototype.findobj = function(obj){  
this.parent = window.document;  
if(this.parent[obj]){ return this.parent[obj]; }  
if(this.parent.all && this.parent.all[obj]){ return this.parent.all[obj]; }  
if(this.parent.layers && this.parent.layers[obj]){ return this.parent.layers[obj]; }  
if(this.parent.getElementById && this.parent.getElementById(obj)){ return this.parent.getElementById(obj); }  
return null;  
}  
var MW = new MW_System_Load();  
function MW_System_Hint(){}  
MW_System_Hint.prototype.show = function(obj,str){  
var hint = MW.findobj('hint');  
if(!obj){ return; }  
if(!MW.documes){ return; }  
if(!hint){ return; }  
hint.className = 'hint';  
hint.style.left = 15;  
hint.style.top = 50;  

obj.onmouseout = function(advance){  
hint.style.width = '';  
hint.style.visibility = 'hidden';  
if(hint.firstChild) hint.removeChild(hint.firstChild);  
hint.appendChild(document.createTextNode(str));  
};  
obj.onmousemove = function(advance){  
//str = str.replace(/</g,"<");  
//str = str.replace(/>/g,">");  
hint.style.width = '';  
hint.innerHTML = str;  
vc = document.getElementsByTagName((document.compatMode && document.compatMode=="CSS1Compat") ? "HTML":"BODY")[0];  
x = window.event ? event.clientX + vc.scrollLeft : advance.pageX;  
y = window.event ? event.clientY + vc.scrollTop : advance.pageY;  
vcwidth = vc.clientWidth ? vc.clientWidth + vc.scrollLeft : window.innerWidth + window.pageXOffset;  
vcheight = vc.innerHeight ? window.innerHeight + window.pageYOffset : vc.clientHeight + vc.scrollTop;  
  if(hint.offsetWidth>500){ hint.style.width = '200'; }  
  if((x + hint.offsetWidth + 15) > vcwidth){  
  hint.style.left = x - hint.offsetWidth - 4;  
  } else {  
  hint.style.left = x + 15;  
  }  
  if((y + hint.offsetHeight + 19) > vcheight){  
  hint.style.top = y - hint.offsetHeight;  
  } else {  
  hint.style.top = y + 25;  
  }  
  //if(typeof(hint.style.MozOpacity)!="undefined"){  
  hint.style.opacity = '.91';  
  hint.style.filter = "alpha(opacity:91)";  
  //}  
  hint.style.visibility = 'visible';  
};  
}  
MW_System_Hint.prototype.initialize = function(){  
var hint = document.createElement("DIV");  
hint.setAttribute('id','hint');  
document.getElementsByTagName('body')[0].appendChild(hint);  
hint.style.visibility = 'hidden';  
var hintmarker = ['a','img','img','input','span','div','textarea'];  
var textmarker = ['title','alt','title','title','title','title','title'];  
var lenmarker = hintmarker.length;  
for(var i=0; i<lenmarker; i++) {  
atr = document.getElementsByTagName(hintmarker[i]);  
for(var j=0; j<atr.length; j++)  
if(viewhint=atr[j].getAttribute(textmarker[i])){  
  atr[j].removeAttribute(textmarker[i]);  
  HINT.show(atr[j],viewhint);  
}  
}  
}  
var HINT = new MW_System_Hint();  
if(MW.objects){ MW.addsevent(HINT.initialize); }  
//Hint End  
</script>

$GLOBAL_AHEADER$

<!-- <middle> -->

  <table border="0" style=" cellpadding="4" cellspacing="4" width="100%">
   
<tr>
<td valign="top" style="width:170px;">

$GLOBAL_CLEFTER$

</td>
   
  <td valign="top">

   
<div style="padding:5px;margin-top:5px;background:url('')#e6e6e6; border: 1px solid #666666;">
<!-- <body> -->
   
  <table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="80%"></tr>
</table>
   
  <table width="100%"><tbody><tr><td style="-moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><table border="0" cellpadding="3" cellspacing="2" width="100%">
<tbody><tr>
<td style="border:1px solid #000000;font-weight:bold; padding:3px 0px 3px 5px; color:#000000;" background="/input.png" width="50%"><center><b>Последние ответы на форуме</b></center></td>
<td style="border:1px solid #000000;font-weight:bold; padding:3px 0px 3px 5px; color:#000000;" background="/input.png" width="50%"><center><b>Популярные темы на форуме</b></center></td>
</tr>
<tr>
<td class="bBlok"><DIV><table width="100%"><tr><td align="left">$MYINF_9$</td></tr></table></td>
<td class="bBlok"><DIV><table width="100%"><tr><td align="left">$MYINF_10$</td></tr></table></td></tr>
</tbody></table>
</tr>
</tbody></table>
  <br>

<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="60%">
</tr>
</table>
<table border="0" width="100%" cellspacing="2" cellpadding="3">  
<tr>  
<td style="border:1px solid #000000;" background="/input.png" width="100%"><center><b>Реклама:</b></center></td>
</tr>  
<tr>  
<td class="bBlok"><table border="0" cellspacing="1" cellpadding="0" width="100%" class="catsTable"><tr></tr></table><center><div id="banners"><a href="/"><img src="/banners/468x60.png" width="468" height="60" border="0"></a><br><br><a href="/"><img src="/banners/468x60.png" width="468" height="60" border="0"></a></td></tr></table>

   
<br>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="60%">
</tr>
</table>
<table border="0" width="100%" cellspacing="2" cellpadding="3">  
<tr>  
<td style="border:1px solid #000000;" background="/input.png" width="100%"><center><b>Категории:</b></center></td>
</tr>  
<tr>  
<td class="bBlok"><table border="0" cellspacing="1" cellpadding="0" width="100%" class="catsTable"><tr></tr></table><center>$CATEGORIES$</td></tr></table>

  <div style="float:right"><span class="linkbutton2"><a class="fNavLink" href="/load/0-0-0-0-1" rel="nofollow"><!--<s5209>--><span>Добавить файл</span><!--</s>--></a></span></div>
<br>$BODY$
<BR><?if($PAGE_SELECTOR1$)?><div style="text-align:center;">$PAGE_SELECTOR1$</div><?endif?><BR><!-- </body> -->
</div>
<div class="line"></div>
<br>
</td>
<td valign="top" style="width:170px;">

$GLOBAL_DRIGHTER$

</td>
</tr>
</table>
<!-- </middle> -->

$GLOBAL_BFOOTER$
</center>
</div>
</body>
<script type="text/javascript">  
  links=document.getElementsByTagName('a');  
  for(i=0;i<links.length;i++){  
  if(links[i].className=='uLPost','tAuthor','threadAuthorLink','lastPostUserLink'){  
  user=links[i].innerHTML;  
  $MYINF_11$  
  }}  
  </script>

  </html>

Добавлено (03.04.2011, 22:31)
---------------------------------------------
А нада - http://s55.radikal.ru/i150/1104/92/6f3b9192054c.png (тоесть поднять середину на уровень блоков)

«Пред. тема След. тема»
  • Страница 1 из 1
  • 1
Поиск:
Топ пользователей: