Единый форум поддержки

Информация о пользователе

Привет, Гость! Войдите или зарегистрируйтесь.


Вы здесь » Единый форум поддержки » Корзина » Не правильное отображение дизайна


Не правильное отображение дизайна

Сообщений 1 страница 3 из 3

1

http://ruindigo.rolka.su/
На опере всё хорошо воспроизводится, на других браузерах ( как firefox и гугл хром) выходит вот так:
http://s44.radikal.ru/i104/1007/ff/c2b2cddb7f83.jpg

HTLM вверх:

<style type="text/css">
#pun-title table{height: 400px; width: 800px; border-color: black;}
#pun-title table {background-image: url(http://savepic.org/635168.png);
</style>
<style type="text/css">
#pun-navlinks .container, #pun-ulinks .container {text-align: center;}
</style>
<style type="text/css">
.punbb table Div.icon  {float: left; display: block; width: 90px; height: 90px; border-style: none; background-image: url(http://savepic.org/628000.png); background-repeat: no-repeat; position: relative;
height: 90px; width: 90px;}

Tr.inew div.icon {
background-image : url(http://savepic.org/617760.png);
background-repeat: no-repeat; height: 90px; width: 90px;
}

tr.iclosed div.icon {
background-image : url(http://savepic.org/628000.png);
background-repeat: no-repeat; height: 90px; width: 90px;
}
TR.isticky Div.icon {
background-image : url(http://savepic.org/628000.png);
background-repeat: no-repeat;
}
</style>
<style type="text/css">
#pun-category1.category h2 {
background: url(http://savepic.org/652577.png) no-repeat top center;
height: 40px;
}
#pun-category2.category h2 {
background: url(http://savepic.org/594222.png) no-repeat top center;
height: 40px;
}
#pun-category3.category h2 {
background: url(http://savepic.org/645409.png) no-repeat top center;
height: 40px;
}
#pun-category4.category h2 {
background: url(http://savepic.org/646433.png) no-repeat top center;
height: 40px;
}
#pun-category5.category h2 {
background: url(http://savepic.org/643361.png) no-repeat top center;
height: 40px;
}
</style>

HTLM низ:

<script type="text/javascript" src="http://szenprogs.ru/scripts/jquery-1.3.2.js"></script><script type="text/javascript">   $(document).ready(function(){    $('.splLink').click(function(){      $(this).parent().children('div.splCont').toggle('normal');      return false;    });  });</script>

<script language="JavaScript">
var str = new String(document.getElementById("navpm").innerHTML)
var str2 = new String(document.location)

if( (str.indexOf("(") != -1) && (str2.indexOf("messages.php") == -1) )
{
alert("У Вас есть непрочитанные личные сообщения")

}
</script>
<script language="JavaScript">
if ((document.URL.indexOf("viewtopic.php")!=-1)||(document.URL.indexOf("post.php")!=-1))
{document.getElementsByName("submit")[0].onclick=checkSpoilers}

function checkSpoilers()
{
var ents=new Array()
var qa=0
ents[0]=document.getElementsByTagName("textarea")[0].value
qa=1

while (ents[qa-1].indexOf("<spoiler>")!=-1)
{
ents[qa]=ents[qa-1].substr((ents[qa-1].indexOf("<spoiler>")+2))
if ((ents[qa].indexOf("<endspoiler>")==-1)||((ents[qa].indexOf("<endspoiler>")!=-1)&&(ents[qa].indexOf("<spoiler>")!=-1)&&(ents[qa].indexOf("<endspoiler>")>ents[qa].indexOf("<spoiler>"))))
{alert("Вы поместили одну подсказку внутри другой, или же забыли закрыть тег подсказки. Вернитесь к сообщению и исправьте ошибки, затем снова нажмите отправить")
return false}
else
{qa=qa+1}}}

</script>
<script type="text/javascript">
var teg=">"
var teg1="<p>"
var hint="</div>"
var hint1="<div style='display: none;'>"
var hint2="display: none"
var hid="if (innerHTML.toLowerCase().indexOf(hint2)!=-1) {innerHTML=innerHTML.substring(0, (innerHTML.toLowerCase().indexOf(teg)+1))"+"+innerHTML.substring((innerHTML.toLowerCase().indexOf(teg1)), (innerHTML.length-6))} else {innerHTML=innerHTML.substring(0, (innerHTML.toLowerCase().indexOf(teg)+1))+hint1+innerHTML.substr(innerHTML.toLowerCase().indexOf(teg1))+hint}"
var trt="<div onclick='"+hid+"'>"+"<img src='http://uploads.ru/images/k/karpoff/down.gif' /><div style='display: none;'><p>"
var trt1="</p></div></div>"
var quers=document.getElementById('pun-main').getElementsByTagName("div")
var pl=0
for (pl=0; pl<=(quers.length-1); pl++)
{if (quers[pl].className=="post-body")
{quers[pl].innerHTML=quers[pl].innerHTML.replace(/&lt;spoiler&gt;/g, trt)
quers[pl].innerHTML=quers[pl].innerHTML.replace(/&lt;endspoiler&gt;/g, trt1)}}
</script>
<script type='text/javascript'>
if (document<script type='text/javascript'>
if (document.getElementById('pun-status').innerHTML.indexOf("Гость")!=-1)
{
document.write("<style>")
document.write(".pa-online {display:none}")
document.write(".pa-reg {display:none}")
document.write(".pa-posts {display:none}")
document.write(".pa-fld1 {display:none}")
document.write(".pa-fld2 {display:none}")
document.write(".pa-fld3 {display:none}")
document.write(".pa-icq {display:none}")
document.write(".pa-age {display:none}")
document.write(".pa-sex {display:none}")
document.write(".pa-time-visit {display:none}")
document.write(".pa-from {display:none}")
document.write(".pa-title {display:none}")
document.write("</style>")
}
</script>
<style type="text/css">
#button-spoiler {background-image:url('http://forumupload.ru/uploads/0000/12/13/488-1.gif'); padding:0; line-height:0; background-position:center; background-repeat:no-repeat}
</style>
<script>
function addSpoiler(str,from,internal){
var pos=0,pos2=0,newpos=0
if((pos=str.indexOf("

Свернутый текст

",from))==-1) return str;
if((pos2=str.indexOf("

"),pos+9)==-1) return str;
newpos=str.indexOf("

Свернутый текст

",pos+9)
if(newpos<pos2 && newpos!=-1) str=addSpoiler(str,pos+9,true)
if((pos2=str.indexOf("

",pos+9))==-1) return str;
str=str.substring(0,pos)+makeSpoiler(str.substring(pos+9,pos2))+str.substring(pos2+10,str.length)
if( str.indexOf("

Свернутый текст

")!=-1 && internal==false) str=addSpoiler(str,0,false)
return str}

function makeSpoiler(txt){
txt="<div class=quote-box style='padding:1px'><cite style='width:100%'>Спойлер <input style='width:60px;margin-left:70%;font-size:10px;' type='button' value='Показать' onclick='hideSpoiler(this)'></cite><blockquote style='display:none'>"+txt+"</blockquote></div>"
return txt}

function hideSpoiler(sp){
spoiler=sp.parentNode.parentNode.getElementsByTagName("blockquote")[0]
if(spoiler.style.display=='none'){
spoiler.style.display='inline'
sp.value='Скрыть'}
else{
spoiler.style.display='none'
sp.value='Показать'}}

if(document.URL.indexOf("viewtopic.php")!=-1){
elm=document.getElementById("pun-main").getElementsByTagName("div")
for(x in elm) if(elm[x].className=="post-content"){
var post=elm[x]
post.innerHTML=addSpoiler(post.innerHTML,0,false)}}
if(form=document.getElementById("form-buttons"))
form.getElementsByTagName("tr")[0].insertCell(19).innerHTML="<img  id=\"button-spoiler\" title=\"Спойлер\" onclick=\"bbcode('[spoiler]','

')\" src=\"/i/blank.gif\" />"
</script>
<center><img src="http://savepic.org/598351.png" /><br>
<a href="http://stlove.1bb.ru/" target="_blank"><img src="http://i42.tinypic.com/w05kzk.gif" border="0" alt="Indigo College | Stereo Love -"></a>
</center>

0

2

lady_bobo.
Здравствуйте.

lady_bobo. написал(а):

http://ruindigo.rolka.su/
На опере всё хорошо воспроизводится, на других браузерах ( как firefox и гугл хром) выходит вот так:
http://s44.radikal.ru/i104/1007/ff/c2b2cddb7f83.jpg

Попробуйте найти в первом окне стиля такой код:

Код:
/* A5.1 */
#pun {
  margin: 67px auto auto;
  margin-left: 146px; 
  width : 800px;
  padding: 0px 5px 0px 5px;
  border: none;
}

И замените на:

Код:
/* A5.1 */
#pun {
  margin: 67px auto auto auto;
  width : 800px;
  padding: 0px 5px 0px 5px;
  border: none;
}

0

3

rps
спасибо, работает =)

0


Вы здесь » Единый форум поддержки » Корзина » Не правильное отображение дизайна