Witam, mam problem z layoutem strony www, ponieważ po zakodowaniu go pod mój portal część podstron działa prawidłowo a część ma rozjechaną stopke.
Tak wygląda prawidłowo załadowana stopka:
a tak wygląda błędnie załadowana:
Jak widać na załączonych obrazkach stopka odkleja się od dołu strony + jej bordery wyjeżdżają poza swoje granice. Szczerze próbowałem już wielu rzeczy, ale najdziwniejsze jest to, że gdy przykładowo kod podstrony jest taki:
$main_content .= 'przykladowa tresc strony';
stopka się psuje, jednak gdy jest np. taki:
$main_content .= '
<table class="table table-bordered">
<tr>
<td colspan="2"><center><b>Commands Help</b></center></td>
</tr>
<tr>
<td style="width:50%"><center>Command</center></td>
<td style="width:50%"><center>Action</center></td>
</tr>
<tr>
<td height="60" style="width:50%"><center><b>!tag</b></center></td>
<td height="60" style="width:50%"><center>Only guild leader can use this command, for example if you want to use it: "!tag abc", if you do this, all players from you guild will have tag in brackets after the nick.<br><br> <img border="1" src="images/tag.png"></center></td>
</tr>
<tr>
<td height="60" style="width:50%"><center><b>!spells</b></center></td>
<td height="60" style="width:50%"><center>With this command you can check all spells for your vocation. Also remember that you can find a list with all spells on our website! <a href="index.php?subtopic=guides">Click here</a>.<br><br> <img border="1" src="images/spells.png"></center></td>
</tr>
</table>
';
Wtedy wszystko jest ok, jednak tu jest kolejna dziwna zależność. Gdy powyższy działający kod lekko edytuje usuwając częśc tekstu z tabelki w taki sposób:
$main_content .= '
<table class="table table-bordered">
<tr>
<td colspan="2"><center><b>Commands Help</b></center></td>
</tr>
<tr>
<td style="width:50%"><center>Command</center></td>
<td style="width:50%"><center>Action</center></td>
</tr>
<tr>
<td height="60" style="width:50%"><center><b>!tag</b></center></td>
<td height="60" style="width:50%"><center>Tutaj edytowalem tresc<br><br> <img border="1" src="images/tag.png"></center></td>
</tr>
<tr>
<td height="60" style="width:50%"><center><b>!spells</b></center></td>
<td height="60" style="width:50%"><center>With this command you can check all spells for your vocation. Also remember that you can find a list with all spells on our website! <a href="index.php?subtopic=guides">Click here</a>.<br><br> <img border="1" src="images/spells.png"></center></td>
</tr>
</table>
';
Problem znów się powtarza tj. stopka się psuje. Proszę przynajmniej o nakierowanie gdzie powinienem szukać źródła problemu.