Как убрать лишние полосы.
<!-- <block4> --> <div class="BlockTitlle"><!-- <bt> -->Мини профиль<!-- </bt> --></div> <div class="BlockCont" style="padding:5px;"> <div align="center"><img src="/images/stata-news.png" border="0" alt="Статистика сайта" /></div> <hr><style type="text/css"> #icon-border {margin:0px; padding:1px; display:inline-block; border:1px solid #ccc; background:#fff;} #icon-blue {display:inline-block; height:6px; width:6px; border:1px solid #586a7c; background:#607c99 url('http://www.csomsk.ru/1-ucoz/highlight_faint-1-.png') repeat-x top;padding-left:1px;} #icon-gray {display:inline-block; height:6px; width:6px; border:1px solid #757B7F; background:#999999 url('http://www.csomsk.ru/1-ucoz/highlight_faint-1-.png') repeat-x top;} #us1 {float:left;width:48%;border:1px solid #c0c0c0;text-align:center;padding:2px 0;cursor:pointer} #us2 {float:right;width:48%;border:1px solid #c0c0c0;text-align:center;padding:2px 0;cursor:pointer;} #usl {text-align:left;display:none;padding:3px} #usr {text-align:left;padding:3px;} #ush {display:none} .uho {background:url('http://www.csomsk.ru/1-ucoz/news-new/left55.png');} .uh0 {background:url('http://www.csomsk.ru/1-ucoz/news-new/right55.png');} .cross1{padding-top:1px;display:inline-block;padding-bottom:1px;color:#fff;text-align:center;margin:0px -1px;text-shadow:0px 1px 0px rgba(0,0,0,0.30);border:1px solid #757B7F;background:#7d7d7d;text-align:left;}.cross2{padding-top:1px;display:inline-block;padding-bottom:1px;color:#fff;text-align:center;margin:0px -1px;text-shadow:0px 1px 0px rgba(0,0,0,0.30);border:1px solid #586a7c;border-left:1px solid #646A6D;background:#61768A;text-align:right;}</style> $MYINF_4$<br>$MYINF_5$<hr><noindex><table width="100%" cellpadding="0" cellspacing="0" border="0"> <tr> <td align="center" width="50%"> $COUNTER$</td> <td align="center" width="50%" ><!--cy-pr.com--><a href="http://www.cy-pr.com/" target="_blank"><img src="http://www.cy-pr.com/e/www.top-video.ucoz.ru_3_107.138.206.gif" border="0" width="88" height="31" alt="Проверка PR и ТИЦ" /></a><!--cy-pr.com--> </tr> </table></noindex><hr> <div style="display:none;">$ONLINE_COUNTER$</div><table width="100%" cellpadding="0" cellspacing="0" border="0"> <tr> <td align="left" width="50%" valign="left"><span id="icon-border" style="margin-right:3px;"><span id="icon-gray"></span></span>Гости сайта</td> <td align="right" width="50%" valign="right">Пользователи<span id="icon-border" style="margin-left:3px;"><span id="icon-blue"></span></span></td> </tr> </table> <div style="border:1px solid #ccc; background:#fff; padding:1px 2px; margin-top:2px;" id="stat-line" align="left"></div> <div style="border:0px; padding:2px; text-align:center;" id="all-users"></div> <script type="text/javascript"> var allusers = $('.tOnline b').html(); var gostusers = $('.gOnline b').html(); var siteusers = $('.uOnline b').html(); var uGosti = (gostusers/allusers).toFixed(2)*100; var uUsers = 100 - uGosti; function skl(a, n) {return a[n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>= 20) ? 1 : 2];}; $('#stat-line').html('<div class="cross1" style="width:'+Number(uGosti).toPrecision(3)+'%;" id="ghostss"><span style="padding-left:3px;">'+uGosti.toFixed()+'%</span></div><div class="cross2" style="width:'+Number(uUsers).toPrecision(3)+'%;" id="userss"><span style="padding-right:3px;">'+uUsers.toFixed()+'%</span></div>'); $('#all-users').html('Всего на сайте <b>'+allusers+'</b> '+skl(['человек', 'человека', 'человек'],allusers)+'</div>'); if (siteusers<1) $('#userss').hide(); if (gostusers<1) $('#ghostss').hide(); </script><Hr><table width="100%" cellpadding="0" cellspacing="0" border="0"> </table> <hr> <div style="margin:-5px; margin-top:5px; padding:0px; border-top:1px solid #b0d1e8; background:#fff; max-height:160px; overflow:auto; overflow-x:hidden;" id="userList"> <div style="clear:both"></div> </div> <script type="text/javascript"> $.get('/index/62',function(e){ fuu = $('cmd[p="content"]',e).text(); $('a',fuu).each(function(i){ $('#userList').prepend('<div style="margin-top:6px; margin-bottom:-16px; padding-right:6px;" align="right"><img style="margin-right:5px; cursor:pointer" onclick="alert(\'Разрабатываем!\');" src="/images/pmver2.png" border="0" /><img style="cursor:pointer" onclick="alert(\'Разрабатываем!\');" src="/images/face.png" border="0" /></div><a class="userList '+$(this).attr('class')+'" href="'+$(this).attr('href')+'">'+$(this).text()+'</a><div style="clear:both"></div>'); }); }); </script> <hr><center> <div id="userD" style="font-size:8pt;color:#1C1C1C;"></div> <script type="text/javascript"> function declOfNum(number, titles) { cases = [2, 0, 1, 1, 1, 2]; return titles[ (number%100>4 && number%100<20)? 2 : cases[(number%10<5)?number%10:5] ]; }; $.get('/index/62-2',function(data){ spisok = $('a',$('cmd[p="content"]',data).text()).size(); </script> </center> </div><div style="padding:5px"></div> <!-- </block4> -->
Отредактировано papas_tm_serjik (27.12.2011 12:22)