Zobacz poprzedni temat :: Zobacz następny temat |
Autor |
Wiadomość |
operator123 Pierwszak
Dołączył: 31 Sty 2010
|
Wysłany: Wto Sie 24, 2010 8:09 pm Temat postu: Tabela wyników - złe ustawienie |
|
|
Witam!
Mam pewien problem, tabela wyników jest znacznie przesunięta w prawo widać tylko połowe wyniku. Szukałem dużo w pliku results, ale nie znalazłem opcji rozwiązującej problem.
Strona www:
www.mip.xaa.pl |
|
Powrót do góry |
|
|
Google Reklama
|
Wysłany: Wto Sie 24, 2010 8:09 pm Temat postu: |
|
|
|
|
Powrót do góry |
|
|
Jaason Admin serwera CS.PL
Dołączył: 22 Paź 2001
|
|
Powrót do góry |
|
|
operator123 Pierwszak
Dołączył: 31 Sty 2010
|
|
Powrót do góry |
|
|
Jaason Admin serwera CS.PL
Dołączył: 22 Paź 2001
|
Wysłany: Sro Sie 25, 2010 12:49 am Temat postu: |
|
|
Porównaj sobie CSS i kod. Na przyszłość: formatuj kod!
Kod: | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf8">
<meta name="generator" content="PSPad editor, www.pspad.com">
<title></title>
<style type="text/css">
.srodek{width:585px; float:left; margin-left:5px; overflow: hidden; margin-top:5px;}
.ost{width:585px; height:91px; background-image:black; }
/*.ost1{width:585px; height:91px; background-image:url('img/img_21.png'); position:relative;} */
.ost1{width:284px; height:91px; background-color:blue; float:left}
/*.ost2{position:absolute; top:263px; left:830px;} */
.ost2{width:284px;height:91px; background-color:red; float:right;text-align:left;}
.news{width:585px; position:relative;}
</style>
</head>
<body>
<div class="srodek">
<div class="ost">
<div class="ost1" style="padding-left:8px;">
<table width="100%" cellspacing="0" cellpadding="0">
<div>
<div>
•<a href="index.php?site=news_comments&newsID=8&lang=pl" target="_blank">
WCG Polska 2010 - podsumowanie</a> <small>24.08. - 12:39</small>
</div>
</div>
<div>
<div>
• <a href="index.php?site=news_comments&newsID=3&lang=pl" target="_blank">
Frag eXecutors wygrywa e-Stars S...</a> <small>19.08. - 10:02</small>
</div>
</div>
</table>
</div>
<div class="ost2" style="padding-left:8px;">
<table width="100%" cellspacing="0" cellpadding="0">
<tr>
<td align="left">
<img src="images/games/cs.gif" border="0" width="10" height="10" alt="cs" />
<a href="index.php?site=clanwars_details&cwID=5">
Made in Poland vs - <b><font color="#FF6600">0:0</font></b>
</a>
</td>
</tr>
</table>
</div>
</div>
<!-- tutaj jeszcze news idą -->
<!-- koniec newsów -->
</div>
</body>
</html>
|
|
|
Powrót do góry |
|
|
operator123 Pierwszak
Dołączył: 31 Sty 2010
|
Wysłany: Sro Sie 25, 2010 9:06 am Temat postu: |
|
|
Wszystko fajnie, ale gdzie mam ten kod wkleic? sorry za takie pytania, ale ja ciemny w tym jestem.. |
|
Powrót do góry |
|
|
Jaason Admin serwera CS.PL
Dołączył: 22 Paź 2001
|
Wysłany: Sro Sie 25, 2010 1:26 pm Temat postu: |
|
|
To jest wycięta i przerobiona Twoja tabelka meczowa. Jedyne co teraz musisz zrobić to w CSSie podmienić kilka linijek ze <style type="text/css"> .
Następnie porównujesz wszystko w kodzie co zaczyna się od <div class="srodek"> aż do końca środka.
Podejrzewam, że musisz to zmienić w pliku szablonu (templates) o ile tam coś takiego jest ;] szukaj rozszerzenia .tpl |
|
Powrót do góry |
|
|
|