форум vBSupport.ru > vBulletin > Вопрос — Ответ
  • »
VBsupport перешел с домена .ORG на родной .RU Ура! Пожалуйста, обновите свои закладки - VBsupport.ru
 
 
 
 
WaXa
Знаток
 
WaXa's Avatar
Exclamation Проблемы с z-index'ом
1

http://wir2al.ru/

Я понимаю вопрос конечно очень нубский, но как сделать, чтобы счетчик накладывался на картинку?

PHP Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<
html xml:lang="ru" xmlns="http://www.w3.org/1999/xhtml" lang="ru"><head>
<
link rel="icon" href="http://www.wir2al.ru/favicon.ico" type="image/x-icon">
<
link rel="shortcut icon" href="http://www.wir2al.ru/favicon.ico" type="image/x-icon"
<
meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<
title>Закрыто на реконструкцию</title>
</
head><body>
<
center>
<
div style="top:150px; z-index:999;"><!--LiveInternet counter--><script type="text/javascript"><!--
document.write("<a href='http://www.liveinternet.ru/click' "+
"target=_blank><img src='http://counter.yadro.ru/hit?t14.16;r"+
escape(document.referrer)+((typeof(screen)=="undefined")?"":
";s"+screen.width+"*"+screen.height+"*"+(screen.colorDepth?
screen.colorDepth:screen.pixelDepth))+";u"+escape(document.URL)+
";"+Math.random()+
"' alt='' title='LiveInternet: показано число просмотров за 24"+
" часа, посетителей за 24 часа и за сегодня' "+
"border='0' width='88' height='31'><\/a>")
//--></script><!--/LiveInternet--></div>
<img src="closed.png" style="margin-top:170px; z-index:998;" />
</
center>
</
div>
</
body></html

Last edited by WaXa : 12-14-2009 at 10:12 PM.
Bot
Yandex Bot Yandex Bot is online now
 
Join Date: 05.05.2005
Реклама на форуме А что у нас тут интересного? =)
 
 
J. Corvin
Глумливый Специалист
 
J. Corvin's Avatar
Default
1

<div style="top:150px; z-index:999; position:absolute;">
<img src="closed.png" style="margin-top:170px; z-index:998; position:absolute;" />
 
 
WaXa
Знаток
 
WaXa's Avatar
Default
1

к сожалению стало не лучше (
 
 
Sven
Front-End Developer
 
Sven's Avatar
Default
1

WaXa, почему у вас два закрывающихся div'a?
Один в комментарии, второй почти в конце кода
 
 
WaXa
Знаток
 
WaXa's Avatar
Default
1

PHP Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<
html xml:lang="ru" xmlns="http://www.w3.org/1999/xhtml" lang="ru"><head>
<
link rel="icon" href="http://www.wir2al.ru/favicon.ico" type="image/x-icon">
<
link rel="shortcut icon" href="http://www.wir2al.ru/favicon.ico" type="image/x-icon"
<
meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<
title>Закрыто на реконструкцию</title>
</
head><body>
<
center>
<
div style="margin-top:100px; z-index:999;"><!--LiveInternet counter--><script type="text/javascript"><!--
document.write("<a href='http://www.liveinternet.ru/click' "+
"target=_blank><img src='http://counter.yadro.ru/hit?t14.16;r"+
escape(document.referrer)+((typeof(screen)=="undefined")?"":
";s"+screen.width+"*"+screen.height+"*"+(screen.colorDepth?
screen.colorDepth:screen.pixelDepth))+";u"+escape(document.URL)+
";"+Math.random()+
"' alt='' title='LiveInternet: показано число просмотров за 24"+
" часа, посетителей за 24 часа и за сегодня' "+
"border='0' width='88' height='31'><\/a>")
//--></script><!--/LiveInternet--></div>
<img src="closed.png" style="margin-top:170px; z-index:998;" />
</
center>
</
body></html
 
 
Sven
Front-End Developer
 
Sven's Avatar
Default
1

Вот что-то нахимичил, не ручаюсь за правильное отображение на других мониторах (т.е. с другим разрешением)
HTML Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xml:lang="ru" xmlns="http://www.w3.org/1999/xhtml" lang="ru">
<head>
<link rel="icon" href="http://www.wir2al.ru/favicon.ico" type="image/x-icon">
<link rel="shortcut icon" href="http://www.wir2al.ru/favicon.ico" type="image/x-icon"> 
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Закрыто на реконструкцию</title>
</head>
<body>
<div style="top:190px; margin-left:45%; z-index:999; position:absolute;">
<!--LiveInternet counter--><script type="text/javascript"><!--
document.write("<a href='http://www.liveinternet.ru/click' "+
"target=_blank><img src='http://counter.yadro.ru/hit?t14.16;r"+
escape(document.referrer)+((typeof(screen)=="undefined")?"":
";s"+screen.width+"*"+screen.height+"*"+(screen.colorDepth?
screen.colorDepth:screen.pixelDepth))+";u"+escape(document.URL)+
";"+Math.random()+
"' alt='' title='LiveInternet: показано число просмотров за 24"+
" часа, посетителей за 24 часа и за сегодня' "+
"border='0' width='88' height='31'><\/a>")
//--></script><!--/LiveInternet-->
</div>
<img src="closed.png" style="margin-top:170px; margin-left:25%; z-index:998; position:absolute;" />
</body>
</html>
Если это будет не то, то стукните в асю - разберемся
 
 
WaXa
Знаток
 
WaXa's Avatar
Default
1

Свен, ты гений! Спасибо огромное!
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off




All times are GMT +4. The time now is 10:00 AM.


Powered by vBulletin® Version 3.0.14
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Loading...