HTML/CSS Halp

by Harry

Harry
bruh
Kohai
Posts: 397
Threads: 28
Joined: Feb 2016
Reputation: 0
03-02-2016, 05:45 PM
#51477 (1)
I've implemented Awards to my development forum and I can't seem to style the postbit as I would like... 

I got it looking how I want it to with 1 award;

[Image: 687474703a2f2f7075752e73682f6e73424a4e2f...302e706e67]

Although, when the user has multiple awards, it doesn't put it within the same element.. It's racking my brain lol. Here's an example;

[Image: 687474703a2f2f7075752e73682f6e73424f352f...622e706e67]

How do I make it so that they are all in one line?

Here's my coding from "ougcawards_postbit"

PHP Code:
{$br}<center class="awardsBG"><span style="white-space:normal; width: 100%;"><a href="{$mybb->settings['bburl']}/awards.php?view={$award['aid']}title="{$award['name']}"><img src="{$award['image']}alt="{$award['name']}/></a></span></center

Here's the coding from 'Postbit'

PHP Code:
<div class="author_statistics">
{
$post['user_details']}{$post['newpoints_postbit']}
<
br />
{
$post['ougc_awards']}
</
div

Thanks all :)

[Image: 687474703a2f2f7669676e65747465332e77696b...3130343533]

:kys:
Aiba
Unregistered
 
03-02-2016, 06:52 PM
#51480 (2)
PHP Code:
<div style displayinline;><img src="{$award['image']}"></div
Yoko
Uguu
Waifu
Posts: 1,393
Threads: 78
Joined: Feb 2016
Reputation: 1
03-02-2016, 07:44 PM
#51481 (3)
(03-02-2016, 06:52 PM)Aiba Wrote:
PHP Code:
<div style displayinline;><img src="{$award['image']}"></div

PSH, actin' like you know things and stuff  :noship:

[Image: 687474703a2f2f693135302e70686f746f627563...672e706e67]

loliloli
Junior Member
Kohai
Posts: 6
Threads: 1
Joined: Mar 2016
Reputation: 0
03-02-2016, 08:41 PM
#51503 (4)
"ougcawards_postbit"

found it.
Harry
bruh
Kohai
Posts: 397
Threads: 28
Joined: Feb 2016
Reputation: 0
03-03-2016, 03:35 AM
#51557 (5)
(03-02-2016, 06:52 PM)Aiba Wrote:
PHP Code:
<div style displayinline;><img src="{$award['image']}"></div

I'll give this a try  :loser:

I got it to work but I had to do it totally different to my OP  :sigh:

[Image: 687474703a2f2f7669676e65747465332e77696b...3130343533]

:kys:
Elm
Senior Member
Kohai
Posts: 402
Threads: 30
Joined: Sep 2016
Reputation: 0
03-03-2016, 02:02 PM
#51600 (6)
(03-03-2016, 03:35 AM)Harry Wrote:
(03-02-2016, 06:52 PM)Aiba Wrote:
PHP Code:
<div style displayinline;><img src="{$award['image']}"></div

I'll give this a try  :loser:

I got it to work but I had to do it totally different to my OP  :sigh:

So I guess you found solution? I will close the thread then. If you need more help feel free to open another thread or ask me to reopen this thread.