Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Server Development
Habbo Retros
Habbo Q&A
How to make a space between staff boxes
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Ben144" data-source="post: 467727" data-attributes="member: 73963"><p>Hey,</p><p></p><p>I am re-creating the staff page for my FluxRP hotel, but i can seem to make a space between them to be them tidy as they are mean to be 3 staff next to one another, but instead the second staff automatically goes under the first staff.</p><p></p><p>[ATTACH=full]12046[/ATTACH]</p><p></p><p>[CODE=php]<div class="content"></p><p></p><p> <div class="container"></p><p> </p><p> </p><p></p><p><div class="container"></p><p> <div class="row"></p><p> </p><p></p><p> </p><p> </p><p> </p><p> </p><p> </p><p> <div class="col-4"></p><p> <div class="content-box no-link-styling"></p><p> <?php</p><p> </p><p> $getRanks = mysql_query("SELECT id,name FROM ranks WHERE id > 4 AND id != '10' AND id != '12' AND id != '21' ORDER BY id DESC");</p><p> while ($Ranks = mysql_fetch_assoc($getRanks)){</p><p> </p><p> $getMembers = mysql_query("SELECT id,username,age,motto,look,online,last_online,country,position,account_created FROM users WHERE rank = '" . $Ranks['id'] . "'");</p><p> </p><p> if (mysql_num_rows($getMembers) > 0){</p><p> $oe = 1;</p><p> while ($member = mysql_fetch_assoc($getMembers)){</p><p></p><p> echo '<div class="title d-flex align-items-center" style="border-bottom: 4px solid #1dc40e;"></p><p> <div class="mr-auto" style="padding-left: 115px;">' . $member['username'] . '</div></p><p> <div><span class="float-right pr-3"><img src="{url}/c_images/album1584/united-kingdom.png"></span></div></p><p> </div></p><p> <div class="d-flex align-items-center"></p><p> <div class="staff-member-avatar"></p><p> <img src="https://www.habbo.nl/habbo-imaging/avatarimage?figure=' . $member['look'] . '&amp;direction=2&amp;head_direction=3&amp;size=l&amp;gesture=sml"></p><p> </div></p><p> <div class="mr-auto"></p><p> <div class="staff-role text-white"></p><p> ' . $Ranks['name'] . '</p><p> </div></p><p> </div></p><p> <div class="mr-3"><img src="{url}/c_images/album1584/OWNE.gif"></div></p><p> </div></p><p> </p><p> ';</p><p> }</p><p> }</p><p></p><p> echo '<script type="text/javascript">if (!$(document.body).hasClassName(\'process-template\')) { Rounder.init(); }</script> ';</p><p> }</p><p></p><p>?></p><p> </p><p> </p><p> </p><p> </div></p><p> </div></p><p> </p><p> </p><p></p><p> </div></p><p> </div></p><p></div>[/CODE]</p><p></p><p>Any help appreciated and thanks in advance.</p></blockquote><p></p>
[QUOTE="Ben144, post: 467727, member: 73963"] Hey, I am re-creating the staff page for my FluxRP hotel, but i can seem to make a space between them to be them tidy as they are mean to be 3 staff next to one another, but instead the second staff automatically goes under the first staff. [ATTACH type="full" alt="staff.png"]12046[/ATTACH] [CODE=php]<div class="content"> <div class="container"> <div class="container"> <div class="row"> <div class="col-4"> <div class="content-box no-link-styling"> <?php $getRanks = mysql_query("SELECT id,name FROM ranks WHERE id > 4 AND id != '10' AND id != '12' AND id != '21' ORDER BY id DESC"); while ($Ranks = mysql_fetch_assoc($getRanks)){ $getMembers = mysql_query("SELECT id,username,age,motto,look,online,last_online,country,position,account_created FROM users WHERE rank = '" . $Ranks['id'] . "'"); if (mysql_num_rows($getMembers) > 0){ $oe = 1; while ($member = mysql_fetch_assoc($getMembers)){ echo '<div class="title d-flex align-items-center" style="border-bottom: 4px solid #1dc40e;"> <div class="mr-auto" style="padding-left: 115px;">' . $member['username'] . '</div> <div><span class="float-right pr-3"><img src="{url}/c_images/album1584/united-kingdom.png"></span></div> </div> <div class="d-flex align-items-center"> <div class="staff-member-avatar"> <img src="https://www.habbo.nl/habbo-imaging/avatarimage?figure=' . $member['look'] . '&direction=2&head_direction=3&size=l&gesture=sml"> </div> <div class="mr-auto"> <div class="staff-role text-white"> ' . $Ranks['name'] . ' </div> </div> <div class="mr-3"><img src="{url}/c_images/album1584/OWNE.gif"></div> </div> '; } } echo '<script type="text/javascript">if (!$(document.body).hasClassName(\'process-template\')) { Rounder.init(); }</script> '; } ?> </div> </div> </div> </div> </div>[/CODE] Any help appreciated and thanks in advance. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Q&A
How to make a space between staff boxes
Top