Aeryn
New Member
Posts: 4
inherit
203642
0
Jul 9, 2017 7:38:29 GMT -8
Aeryn
4
January 2014
sarienyan
|
Post by Aeryn on Jul 8, 2017 13:43:09 GMT -8
Hello! Sorry to ask such a small thing like this, but it's driving me crazy! I can usually figure out things like this, but this just has me stuck. My forum is here. In the forum statistics at the bottom, the online and offline list of users only scrolls horizontal and does not fill the area correctly. Basically, it doesn't break between pictures for some reason. It's so ugly to me and I'd love to have it fill downwards. Here's a screenshot in case it changes. And here's the code I use for it Layout Templates > Home
<div class="healonline2">{foreach $[online_user_24]} $[online_user_24.avatar_quote]{if $[online_user_24.invisible]} <span class="small">(invisible)</span>{/if} {/foreach} {if $[total_online_not_shown_24]} , and <a class="$[view_todays_active_members_link.class]" href="$[view_todays_active_members_link.href]">$[total_online_not_shown_24] more...</a> {/if}</div> Advanced Styles & CSS
.healonline2 { padding:5px; height:125px; width: inherit; overflow: auto; } Note: I did not code this, I got it from a resource site. It worked perfectly until I changed the online and recently online names from text to images. Thanks so much for your help! And if I need to show anything else let me know~
|
|
inherit
216224
0
Feb 7, 2024 9:48:11 GMT -8
Quozzo
407
November 2014
quozzo
|
Post by Quozzo on Jul 10, 2017 9:33:04 GMT -8
Add this:
.healonline .avatar-wrapper { float: left; }
|
|
inherit
217348
0
Jul 27, 2022 7:26:44 GMT -8
Lynx
5,781
January 2015
msg
|
Post by Lynx on Jul 11, 2017 9:35:31 GMT -8
Quozzo, Just curious, but would changing the overflow: auto; to overflow-y: auto; help with that, so only the y-axis gets the scrollbar?
|
|
inherit
I need a new CT, thinking.... [insert Jeopardy theme song here]
110769
0
Aug 21, 2021 0:07:21 GMT -8
Tumbleweed
20,825
September 2007
tumbleweed
|
Post by Tumbleweed on Jul 12, 2017 1:19:37 GMT -8
Quozzo , Just curious, but would changing the overflow: auto; to overflow-y: auto; help with that, so only the y-axis gets the scrollbar? That's what I was thinking, using the axis but it would be x I think the OP wants. I know on one vertical scroll bar I had, it was a pain to get to work and ended up with the y to hidden and the x to scroll (auto works too, just tried it) to get it to work. And to top it off, on that one I had to add anther div inside my first div and make the width over first div's width to get it to work.
|
|
inherit
217348
0
Jul 27, 2022 7:26:44 GMT -8
Lynx
5,781
January 2015
msg
|
Post by Lynx on Jul 12, 2017 9:38:37 GMT -8
Quozzo , Just curious, but would changing the overflow: auto; to overflow-y: auto; help with that, so only the y-axis gets the scrollbar? That's what I was thinking, using the axis but it would be x I think the OP wants. I know on one vertical scroll bar I had, it was a pain to get to work and ended up with the y to hidden and the x to scroll (auto works too, just tried it) to get it to work. And to top it off, on that one I had to add anther div inside my first div and make the width over first div's width to get it to work. I thought x was horizontal and y was vertical, but I could have them mixed up.
|
|
Kami
Forum Cat
Posts: 40,037
Mini-Profile Theme: Kami's Mini-Profile
#f35f71
156500
0
Offline
Jul 24, 2021 11:48:29 GMT -8
Kami
40,037
July 2010
kamiyakaoru
Kami's Mini-Profile
|
Post by Kami on Jul 12, 2017 9:53:44 GMT -8
That's what I was thinking, using the axis but it would be x I think the OP wants. I know on one vertical scroll bar I had, it was a pain to get to work and ended up with the y to hidden and the x to scroll (auto works too, just tried it) to get it to work. And to top it off, on that one I had to add anther div inside my first div and make the width over first div's width to get it to work. I thought x was horizontal and y was vertical, but I could have them mixed up. :) You are correct.
|
|
inherit
I need a new CT, thinking.... [insert Jeopardy theme song here]
110769
0
Aug 21, 2021 0:07:21 GMT -8
Tumbleweed
20,825
September 2007
tumbleweed
|
Post by Tumbleweed on Jul 12, 2017 14:54:08 GMT -8
You two are right and I was either switching them around or thinking the OP wanted the opposite of what she wanted. I have no idea now, what I was thinking then.
|
|
inherit
217348
0
Jul 27, 2022 7:26:44 GMT -8
Lynx
5,781
January 2015
msg
|
Post by Lynx on Jul 12, 2017 15:01:06 GMT -8
You two are right and I was either switching them around or thinking the OP wanted the opposite of what she wanted. I have no idea now, what I was thinking then. It's okay, Tumbleweed. I have moments like that ... usually more often than I want them.
|
|
Aeryn
New Member
Posts: 3
inherit
246838
0
Jul 14, 2017 18:39:25 GMT -8
Aeryn
3
July 2017
aerynnn
|
Post by Aeryn on Jul 13, 2017 10:25:40 GMT -8
Hi this is the OP! I got locked out of my account so this is a new one I had to make. Sorry for the late reply!
The code Quozzo gave me worked perfectly, so thank you so much Quozzo!!
I have tried to change overflow to overflow-x and overflow-y and play around with it like that, but none of it was changing anything at all ):
Thank you all for responding!!
|
|
inherit
217348
0
Jul 27, 2022 7:26:44 GMT -8
Lynx
5,781
January 2015
msg
|
Post by Lynx on Jul 14, 2017 0:55:35 GMT -8
Hi this is the OP! I got locked out of my account so this is a new one I had to make. Sorry for the late reply! The code Quozzo gave me worked perfectly, so thank you so much Quozzo!! I have tried to change overflow to overflow-x and overflow-y and play around with it like that, but none of it was changing anything at all ): Thank you all for responding!! Did you just put overflow-y or did you put it as overflow-y: auto; - the latter is the correct one (including the semi-colon).
|
|
Aeryn
New Member
Posts: 3
inherit
246838
0
Jul 14, 2017 18:39:25 GMT -8
Aeryn
3
July 2017
aerynnn
|
Post by Aeryn on Jul 14, 2017 16:40:09 GMT -8
Yeah it was overflow-y: auto;
It didn't seem to change anything at all unfortunately ):
|
|
inherit
168679
0
Nov 18, 2012 17:03:07 GMT -8
Virgil Sovereign
Latet anguis in herba.
686
July 2011
syonidv
|
Post by Virgil Sovereign on Jul 15, 2017 17:53:58 GMT -8
Yeah it was overflow-y: auto; It didn't seem to change anything at all unfortunately ): Did you remove overflow: auto;? If you added overflow-y: auto; without removing the existing property, this would account for the ongoing problem.
|
|