Tabelki obok

Inne  Założony przez  rr92.

Witam, potrzebuje pomocy, chodzi mi o to, że chciałbym żeby te 2 okienka (buddy list i last visitor) były obok siebie a nie pod sobą. Pozdrawiam.        
Podaj link do podstrony
Test
(13.02.2017, 11:55)Frag napisał(a): Podaj link do podstrony
http://polishexplosion.zz.mu/user-1.html#comments/1

prosze zedytowałem 1 post i dałem konto testowe
nie widzę, ale spróbuj umieścić je w
<div class="inline">
i dodaj w css  
.inline {
display: inline-block;
}
Test
nie działa niestety:
(13.02.2017, 11:59)Frag napisał(a): nie widzę, ale spróbuj umieścić je w
<div class="inline">
i dodaj w css  
.inline {
display: inline-block;
}
nie działa: tutaj kod myprofile_buddylist:
<div class="inline"><br /><table width="50%" cellspacing="0" cellpadding="0" border="0" align="center">
<
tr>
<
td width="100%" valign="top">
<
table border="0" cellspacing="{$theme['borderwidth']}cellpadding="{$theme['tablespace']}class="tborder">
<
tr>
<
td colspan="4" class="thead"><strong>{$lang->mp_profile_buddylist} ({$lang->mp_profile_comments_total} {$count})</strong></td>
</
tr>
<
tr class="buddylist-pagination">
<
td colspan="2" {$buddylist_pagination_style}>{$buddylist_pagination}</td>
</
tr>
{
$buddylist_count}
{
$buddylist_content}
</
table>
</
td>
</
tr>
</
table></div
To dodaj w teabelkę
<table width="100%" cellspacing="0" cellpadding="0" border="0" align="center">
<tbody><tr>
<td width="50%" valign="top">(tutaj pierwszy panel)</td>
<td width="50%" valign="top">(tutaj drugi panel)</td>
</tr>
</tbody></table>

@edit. poprawione

ma to wyglądać mniej-więcej tak:
<table width="100%" cellspacing="0" cellpadding="0" border="0" align="center">
<tbody><tr>
<td width="49%" valign="top"><table border="0" cellspacing="0" cellpadding="5" class="tborder">
<tbody><tr>
<td colspan="4" class="thead"><strong>Buddy List (Total 1)</strong></td>
</tr>
<tr class="buddylist-pagination">
<td colspan="2" style="display: none;"></td>
</tr>
<!-- start: myprofile_buddylist_buddy_count -->
<tr>
<td class="trow1" colspan="4">ruszel92 has made 1 friends, 1 of whom are displayed on this page.</td>
</tr>
<!-- end: myprofile_buddylist_buddy_count -->
<!-- start: myprofile_buddylist_row -->
<tr><!-- start: myprofile_buddylist_buddy -->
<td style="text-align:center;" class="trow2" width="20%"><a href="user-2.html"><img src="http://polishexplosion.zz.mu/images/default_avatar.png" width="20" height="20"><br><span style="text-shadow: 1px 1px 10px rgb(255, 225, 0); font-weight: bold; color: #FFE100"><strong>TEST</strong></span></a></td>
<!-- end: myprofile_buddylist_buddy --><!-- start: myprofile_buddylist_spacer -->
<td class="trow1" width="60%" colspan="3"></td>
<!-- end: myprofile_buddylist_spacer --></tr>
<!-- end: myprofile_buddylist_row -->
</tbody></table></td>
<td width="2%"></td> <!-- Rozdzielacz -->
<td width="49%" valign="top"><table border="0" cellspacing="0" cellpadding="5" class="tborder">
<tbody><tr>
<td colspan="2" class="thead"><strong>Last Visitors</strong></td>
</tr>
<tr>
<td class="trow1"><a href="http://polishexplosion.zz.mu/user-2.html"><span style="text-shadow: 1px 1px 10px rgb(255, 225, 0); font-weight: bold; color: #FFE100"><strong>TEST</strong></span></a> (Dzisiaj - 13:26)</td>
</tr>
<!-- start: myprofile_visitor_count -->
<tr>
<td class="trow1">Total profile views : 4</td>
</tr>
<!-- end: myprofile_visitor_count -->
</tbody></table></td>
</tr>
</tbody></table>

3 tabela została dodano jako odzielnik
Test
teraz 2 sa obok siebie i jedna pod spodem
Masz 2 razy to samą tabelkę dodaną w kodzie

polecam przeczytać - https://webboard.pl/thread-45824.html

a i dodałeś kod który podałem jako przykład!
Był to czysty kod HTML podany na podpowiedź jak to ma wyglądać mniej więcej - informacji prawidłowych i aktualnych nie będzie Ci generował bo jest to czysty kod HTML
Test
(13.02.2017, 13:10)Frag napisał(a): Masz 2 razy to samą tabelkę dodaną w kodzie

polecam przeczytać - https://webboard.pl/thread-45824.html

a i dodałeś kod który podałem jako przykład!
Był to czysty kod HTML podany na podpowiedź jak to ma wyglądać mniej więcej - informacji prawidłowych i aktualnych nie będzie Ci generował bo jest to czysty kod HTML
ok spoko dzieki :)

Ok z edytowałem ten kod i niby jest ok, ale wraz nie pokazuje ostatniego odwiedzającego. {lastvisitors}
<table width="100%" cellspacing="0" cellpadding="0" border="0" align="center">
<
tbody><tr>
<
td width="49%" valign="top"><table border="0" cellspacing="0" cellpadding="5" class="tborder">
<
tbody><tr>
<
td colspan="4" class="thead"><strong>{$lang->mp_profile_buddylist} ({$lang->mp_profile_comments_total} {$count})</strong></td>
</
tr>
<
tr class="buddylist-pagination">
<
td colspan="2" style="display: none;">{$buddylist_pagination_style}>{$buddylist_pagination}</td>
</
tr>
{
$buddylist_count}
{
$buddylist_content}
</
tbody></table></td>
  <
td width="2%"></td
<
td width="49%" valign="top"><table border="0" cellspacing="0" cellpadding="5" class="tborder">
<
tbody><tr>
<
td colspan="2" class="thead"><strong>{$lang->mp_profile_last_visitors}</strong></td>
</
tr>
<
tr>
<
td class="trow1">{$lastvisitors}</td>
</
tr>
{
$profilevisits}
<
tr>
<
td class="trow1">{$lang->mp_profile_visitor_count} {$memprofile['viewcount']}</td>
</
tr>
</
tbody></table></td>
</
tr>
</
tbody></table
Wyciągnij/zedytuj szablon myprofile_visitors tam masz więcej informacji
Test
(13.02.2017, 16:43)Frag napisał(a): Wyciągnij/zedytuj szablon myprofile_visitors tam masz więcej informacji

Edytowałem na wszystkie sposoby i wraz to samo :(

<table width="50%" cellspacing="0" cellpadding="0" border="0" align="center">
<
tr>
<
td width="100%" valign="top">
<
table border="0" cellspacing="{$theme['borderwidth']}cellpadding="{$theme['tablespace']}class="tborder">
<
tr>
<
td colspan="2" class="thead"><strong>{$lang->mp_profile_last_visitors}</strong></td>
</
tr>
<
tr>
<
td class="trow1">{$lastvisitors}</td>
</
tr>
{
$profilevisits}
</
table>
</
td>
</
tr>
</
table
Inaczej kod odpowiedzialny za myprofile_visitors wstaw w

<td width="2%"></td>
<
td width="49%" valign="top"><table border="0" cellspacing="0" cellpadding="5" class="tborder">
<
tbody><tr>TUTAJ</td>
</
tr>
</
tbody></table
a szablon myprofile_visitors dostosuj
Test
Dobra jakoś my wyszło chodź i tak nie wiem czy dobrze ^^:
myprofile_visitors:
<td width="49%" valign="top"><table border="0" cellspacing="0" cellpadding="5" class="tborder">
<
tbody><tr>
<
td colspan="2" class="thead"><strong>{$lang->mp_profile_last_visitors}</strong></td>
</
tr>
<
tr>
<
td class="trow1">{$lastvisitors}</td>
</
tr>
{
$profilevisits}
<
tr>
</
tr>
</
tbody></table></td>
</
tr>
</
tbody></table

myprofile_buddylist:
<table width="100%" cellspacing="0" cellpadding="0" border="0" align="center">
<
tbody><tr>
<
td width="49%" valign="top"><table border="0" cellspacing="0" cellpadding="5" class="tborder">
<
tbody><tr>
<
td colspan="4" class="thead"><strong>{$lang->mp_profile_buddylist} ({$lang->mp_profile_comments_total} {$count})</strong></td>
</
tr>
<
tr class="buddylist-pagination">
<
td colspan="2" style="display: none;">{$buddylist_pagination_style}>{$buddylist_pagination}</td>
</
tr>
{
$buddylist_count}
{
$buddylist_content}
</
tbody></table></td

Dzięki :)



Użytkownicy przeglądający ten wątek:

1 gości