- Dodanie marginesu

Konfiguracja  Założony przez  PATYrek.

Adres forum:
https://screskill.com/index.php (w trakcie prac)

Wersja silnika:
1.8.19


Opis problemu:
Witam,
Prosił bym o dodanie odstępu od belki..
Wartość odstępu: 10px

attachment=14376]


Próbowałem funkcją css+div, css+span, oraz style="margin-top: 10px" oraz na zapartego <br> xD.
No ale po prostu plugin i tak nie dodaje tego odstępu..
Zakładam że ja coś źle gdzieś dodaję, więc wolę napisać niż siedzieć x czasu jak to często bywało przy błachostce ^^


Fragment kodu pluginu:
Cytat:        self::$tpl[] = array(
            "title" => 'profileVisitors_Row',
            "template" => $db->escape_string('<tr>
<td class="{$bgcolor}" style="width:5%;"><strong><img src="{$avatar[\'image\']}" alt="" {$avatar[\'width_height\']} style="border-top-left-radius: 15px; border-bottom-right-radius: 15px" /></td>
<td class="{$bgcolor}">{$visitor[\'profilelink\']}<p class="smalltext"><b>{$visitor[\'date\']}</b></p></td>
</tr>'),
            "sid" => "-1",
            "version" => "1.0",
            "dateline" => TIME_NOW,
        );
        
        self::$tpl[] = array(
            "title" => 'profileVisitors',
            "template" => $db->escape_string('<table border="0" cellspacing="{$theme[\'borderwidth\']}" cellpadding="{$theme[\'tablespace\']}" class="tborder">
<tr>
<td colspan="2" class="thead"><strong>{$lang->profileVisitorsTitle}</strong></td></div>
</tr>
{$profileVisitorsList}
</table>'),
            "sid" => "-1",
            "version" => "1.0",
            "dateline" => TIME_NOW,
        );
        
        
        self::$tpl[] = array(
            "title" => 'profileVisitors_UCP',
            "template" => $db->escape_string('</tr><tr>
<td valign="top" width="1"><input type="checkbox" class="checkbox" name="show_profile_visitors" id="show_profile_visitors" value="1" {$profileVisitorsOption} /></td>
<td><span class="smalltext"><label for="show_profile_visitors">{$lang->profileVisitorsLabel}</label></span></td>'),
            "sid" => "-1",
            "version" => "1.0",
            "dateline" => TIME_NOW,
        );
    }


Załączone pliki Miniatury
   
Musisz nam udostępnić podgląd (konto z dostępem).
Cytat:w pół dnia stałeś się lepszym pytonistą niż kawenanowo kiedykolwiek programisto :3 ~ Riess 13.11.2018 16:28
Cytat:ale z tą nazwą to fyeem ma racje  ~ Divir 29.07.2019 16:08
Poradziłem już sb :).
Łukasz napisał 17.12.2018, 13:29:
Podziel się rozwiązaniem. Być może pomoże to innym osobom.




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

1 gości