As title says i have this code, have edited it a bit, and I'm struggling to narrow the space among player outfits. Can somebody lend me a hand with this, please?
this is the code
this is how the code looks in website by now. need to strech the space between the players.
also the experience column is not aligened as you cans ee. would be possible to do it ?
this is the whole code php : k5dfv - Ghostbin (https://paste.bingner.com/paste/k5dfv)
this is the code
Lua:
echo '
<div class="outfit">
<li style="margin: 8px 5px;"> <div style="position:relative; left:-28px; top:-28px;"><img src="' . $config['show_outfits']['imageServer'] . '?id=' . $player['looktype'] .
(isset($player['lookaddons']) ? '&addons=' . $player['lookaddons'] : '') .
'&head=' . (isset($player['lookhead']) ? $player['lookhead'] : '') .
'&body=' . (isset($player['lookbody']) ? $player['lookbody'] : '') .
'&legs=' . (isset($player['looklegs']) ? $player['looklegs'] : '') .
'&feet=' . (isset($player['lookfeet']) ? $player['lookfeet'] : '') . '" alt="img">
<div style="position:relative; left:31px; top:2px;"><a style="margin-right: 13px;" href="characterprofile.php?name=' . $player['name'] . '">' . $nam . '</a>
<span style="float: center;">'.coloured_value($player['experience']-$player['exphist_lastexp']).'</span></li>
</div>
';
//echo '<span style="float: right;">' . coloured_value($player['experience'] - $player['exphist_lastexp']) . ' - Level ' . $player['level'] . '</span></li>';
}
}
?>
</ul>
this is how the code looks in website by now. need to strech the space between the players.
also the experience column is not aligened as you cans ee. would be possible to do it ?
this is the whole code php : k5dfv - Ghostbin (https://paste.bingner.com/paste/k5dfv)