26 coaches online • Server time: 02:33
Forum Chat
Log in
Recent Forum Topics goto Post 145 League and Tourn...goto Post killing by fun?goto Post Pact/Renegades meta
SearchSearch 
Post new topic   Reply to topic
View previous topic Log in to check your private messages View next topic
WhatBall



Joined: Aug 21, 2008

Post   Posted: Aug 10, 2014 - 16:39 Reply with quote Back to top

For blocks with small fonts or toggle switches causing extra lines, you can add lh=0 into your block code.

_________________
Image
Kam



Joined: Nov 06, 2012

Post   Posted: Aug 10, 2014 - 16:56 Reply with quote Back to top

Thanks for the tip. Maybe it should be added to the bbcode wiki page (normal users can't modify it I believe)?

Another option is to wrap toggle images in blocks with a fixed height, but it takes more time (however it may help with the silliness of some browsers like IE).

_________________
GLN 17 is out!
Image
mrt1212



Joined: Feb 26, 2013

Post   Posted: Sep 26, 2014 - 21:24 Reply with quote Back to top

Here's an easy one - how do I get 2 of Shragg's tables to be side by side in one Team Bio?

use some sort of align tag I presume, but I'm a total novice at this kinda stuff.

https://fumbbl.com/p/team?team_id=727958

I changed the header to read all-time, now I want to get a side by side comparison with active.

Thanks!


Last edited by mrt1212 on %b %26, %2014 - %21:%Sep; edited 1 time in total
DeZigma



Joined: Aug 21, 2011

Post   Posted: Sep 26, 2014 - 21:28 Reply with quote Back to top

use some float --> floatleft and floatright

did you get it?

_________________
Image
WhatBall



Joined: Aug 21, 2008

Post   Posted: Sep 26, 2014 - 21:35 Reply with quote Back to top

Something like this (may not be perfect).

Code:
[block=floatcontainer]\
[block=floatleft pad5]\
[table]\
[tr][th][b]All-Time[/b][/th][th][b]Name[/b][/th][th][b]#[/b][/th][/tr]\
[tr bg=#d0e0d0 fg=black]\
[td fg=black]Games[/td]\
[td][icon]skstorm1[/icon][url=https://fumbbl.com/p/player?player_id=9237657]Gorgonzola [/url]\

[/td]\
[td]58[/td]\
[/tr]\
[tr bg=#e0f0e0 fg=black]\
[td fg=black]Completions (49)[/td]\
[td][icon]skthrower1[/icon][url=https://fumbbl.com/p/player?player_id=9237662]Emmental[/url]\

[/td]\
[td]8[/td]\
[/tr]\
[tr bg=#d0e0d0 fg=black]\
[td fg=black]Touchdowns (88)[/td]\
[td][icon]skrunner1[/icon][url=https://fumbbl.com/p/player?player_id=9370670]Camembert II[/url]\

[/td]\
[td]25[/td]\
[/tr]\
[tr bg=#e0f0e0 fg=black]\
[td fg=black]Interceptions (2)[/td]\
[td][icon]skrunner1[/icon][url=https://fumbbl.com/p/player?player_id=9237656]Camembert[/url]\

[icon]skrunner1[/icon][url=https://fumbbl.com/p/player?player_id=9370670]Camembert II[/url]\

[/td]\
[td]1[/td]\
[/tr]\
[tr bg=#d0e0d0 fg=black]\
[td fg=black]Casualties (62)[/td]\
[td][icon]skstorm1[/icon][url=https://fumbbl.com/p/player?player_id=9237659]Stilton[/url]\

[/td]\
[td]20[/td]\
[/tr]\
[tr bg=#e0f0e0 fg=black]\
[td fg=black]Most Valuable Player (60)[/td]\
[td][icon]skstorm1[/icon][url=https://fumbbl.com/p/player?player_id=9237657]Gorgonzola [/url]\

[icon]skthrower1[/icon][url=https://fumbbl.com/p/player?player_id=9237662]Emmental[/url]\

[/td]\
[td]6[/td]\
[/tr]\
[tr bg=#d0e0d0 fg=black]\
[td fg=black]Star Player Points (741)[/td]\
[td][icon]skrunner1[/icon][url=https://fumbbl.com/p/player?player_id=9370670]Camembert II[/url]\

[/td]\
[td]98[/td]\
[/tr]\
[tr bg=#e0f0e0 fg=black]\
[td fg=black]Passing (133)[/td]\
[td][icon]skrunner1[/icon][url=https://fumbbl.com/p/player?player_id=9237656]Camembert[/url]\

[/td]\
[td]39[/td]\
[/tr]\
[tr bg=#d0e0d0 fg=black]\
[td fg=black]Rushing (1607)[/td]\
[td][icon]skrunner1[/icon][url=https://fumbbl.com/p/player?player_id=9370670]Camembert II[/url]\

[/td]\
[td]401[/td]\
[/tr]\
[tr bg=#e0f0e0 fg=black]\
[td fg=black]Blocks (1437)[/td]\
[td][icon]skstorm1[/icon][url=https://fumbbl.com/p/player?player_id=9237659]Stilton[/url]\

[/td]
[td]284[/td]\
[/tr]\
[tr bg=#d0e0d0 fg=black]\
[td fg=black]Fouls (52)[/td]\
[td][icon]skrunner1[/icon][url=https://fumbbl.com/p/player?player_id=9942942]Feta V[/url]\

[/td]\
[td]6[/td]\
[/tr]\
[tr bg=#e0f0e0 fg=black]\
[td fg=black]Scoring Thrower[/td]\
[td][icon]skrunner1[/icon][url=https://fumbbl.com/p/player?player_id=9237656]Camembert[/url]\

[/td]\
[td]7[/td]\
[/tr]\
[tr bg=#d0e0d0 fg=black]\
[td fg=black]Blocking Thrower[/td]\
[td][icon]skthrower1[/icon][url=https://fumbbl.com/p/player?player_id=9237662]Emmental[/url]\

[/td]\
[td]6[/td]\
[/tr]\
[tr bg=#e0f0e0 fg=black]\
[td fg=black]Blocking Scorer[/td]\
[td][icon]skrunner1[/icon][url=https://fumbbl.com/p/player?player_id=9237656]Camembert[/url]\

[/td]\
[td]3[/td]\
[/tr]\
[tr bg=#d0e0d0 fg=black]\
[td fg=black]Triple[/td]\
[td][icon]skrunner1[/icon][url=https://fumbbl.com/p/player?player_id=9237656]Camembert[/url]\

[/td]\
[td]3[/td]\
[/tr]\
[tr bg=#e0f0e0 fg=black]\
[td fg=black]All-rounder[/td]\
[td][icon]skrunner1[/icon][url=https://fumbbl.com/p/player?player_id=9237656]Camembert[/url]\

[/td]\
[td]1[/td]\
[/tr]\
[/table]\
[/block]\
[block=floatleft pad5]\
[table]\
[tr][th][b]Active[/b][/th][th][b]Name[/b][/th][th][b]#[/b][/th][/tr]\
[tr bg=#d0e0d0 fg=black]\
[td fg=black]Games[/td]\
[td][icon]skrunner1[/icon][url=https://fumbbl.com/p/player?player_id=9816810]Monterey Jack III[/url]\

[/td]\
[td]18[/td]\
[/tr]\
[tr bg=#e0f0e0 fg=black]\
[td fg=black]Completions (49)[/td]\
[td][icon]skrunner1[/icon][url=https://fumbbl.com/p/player?player_id=9816810]Monterey Jack III[/url]\

[/td]\
[td]6[/td]\
[/tr]\
[tr bg=#d0e0d0 fg=black]\
[td fg=black]Touchdowns (88)[/td]\
[td][icon]skrunner1[/icon][url=https://fumbbl.com/p/player?player_id=9816810]Monterey Jack III[/url]\

[/td]\
[td]12[/td]\
[/tr]\
[tr bg=#e0f0e0 fg=black]\
[td fg=black]Interceptions (2)[/td]\
[td][/td]\
[td][/td]\
[/tr]\
[tr bg=#d0e0d0 fg=black]\
[td fg=black]Casualties (62)[/td]\
[td][icon]skrunner1[/icon][url=https://fumbbl.com/p/player?player_id=9816810]Monterey Jack III[/url]\

[/td]\
[td]2[/td]\
[/tr]\
[tr bg=#e0f0e0 fg=black]\
[td fg=black]Most Valuable Player (60)[/td]\
[td][icon]skrunner1[/icon][url=https://fumbbl.com/p/player?player_id=9816810]Monterey Jack III[/url]\

[icon]skrunner1[/icon][url=https://fumbbl.com/p/player?player_id=10005849]Pecorino Romano IV[/url]\

[/td]\
[td]2[/td]\
[/tr]\
[tr bg=#d0e0d0 fg=black]\
[td fg=black]Star Player Points (741)[/td]\
[td][icon]skrunner1[/icon][url=https://fumbbl.com/p/player?player_id=9816810]Monterey Jack III[/url]\

[/td]\
[td]56[/td]\
[/tr]\
[tr bg=#e0f0e0 fg=black]\
[td fg=black]Passing (133)[/td]\
[td][icon]skrunner1[/icon][url=https://fumbbl.com/p/player?player_id=9816810]Monterey Jack III[/url]\

[/td]\
[td]16[/td]\
[/tr]\
[tr bg=#d0e0d0 fg=black]\
[td fg=black]Rushing (1607)[/td]\
[td][icon]skrunner1[/icon][url=https://fumbbl.com/p/player?player_id=9816810]Monterey Jack III[/url]\

[/td]\
[td]274[/td]\
[/tr]\
[tr bg=#e0f0e0 fg=black]\
[td fg=black]Blocks (1437)[/td]\
[td][icon]sklineman1[/icon][url=https://fumbbl.com/p/player?player_id=9939707]Ricotta IV[/url]\

[/td]\
[td]21[/td]\
[/tr]\
[tr bg=#d0e0d0 fg=black]\
[td fg=black]Fouls (52)[/td]\
[td][icon]skrunner1[/icon][url=https://fumbbl.com/p/player?player_id=9942942]Feta V[/url]\

[/td]\
[td]6[/td]\
[/tr]\
[tr bg=#e0f0e0 fg=black]\
[td fg=black]Scoring Thrower[/td]\
[td][icon]skrunner1[/icon][url=https://fumbbl.com/p/player?player_id=9816810]Monterey Jack III[/url]\

[/td]\
[td]6[/td]\
[/tr]\
[tr bg=#d0e0d0 fg=black]\
[td fg=black]Blocking Thrower[/td]\
[td][icon]skrunner1[/icon][url=https://fumbbl.com/p/player?player_id=9816810]Monterey Jack III[/url]\

[/td]\
[td]2[/td]\
[/tr]\
[tr bg=#e0f0e0 fg=black]\
[td fg=black]Blocking Scorer[/td]\
[td][icon]skrunner1[/icon][url=https://fumbbl.com/p/player?player_id=9816810]Monterey Jack III[/url]\

[/td]\
[td]2[/td]\
[/tr]\
[tr bg=#d0e0d0 fg=black]\
[td fg=black]Triple[/td]\
[td][icon]skrunner1[/icon][url=https://fumbbl.com/p/player?player_id=9816810]Monterey Jack III[/url]\

[/td]\
[td]2[/td]\
[/tr]\
[tr bg=#e0f0e0 fg=black]\
[td fg=black]All-rounder[/td]\
[td][/td]\
[td][/td]\
[/tr]\
[/table]\
[/block][/block]\

_________________
Image
mrt1212



Joined: Feb 26, 2013

Post   Posted: Sep 26, 2014 - 22:08 Reply with quote Back to top

Tried it and it adds a ton of gobbly gook in addition to not moving the tables to respective areas.

I left it up just in case you wanna see it.
WhatBall



Joined: Aug 21, 2008

Post   Posted: Sep 26, 2014 - 22:20 Reply with quote Back to top

mrt1212 wrote:
Tried it and it adds a ton of gobbly gook in addition to not moving the tables to respective areas.

I left it up just in case you wanna see it.

Mostly fixed.

The copy&paste added a space after every \ , which played havoc with the code. The artifact \ floating at the bottom is a present for you to find and remove. Very Happy

_________________
Image
mrt1212



Joined: Feb 26, 2013

Post   Posted: Sep 26, 2014 - 22:39 Reply with quote Back to top

Thank you so much Whatball! I'll work on getting those header rows aligned at some point but this is good enough for now

Just to be clear, this is what you did right?

Code:
[block=floatcontainer]\
[block=floatleft pad5]\

LEFTMOSTCODE

[/block]\
[block=floatright pad5]

RIGHTMOST CODE

[/block][/block]
DeZigma



Joined: Aug 21, 2011

Post   Posted: Sep 26, 2014 - 22:50 Reply with quote Back to top

correct.

_________________
Image
Kam



Joined: Nov 06, 2012

Post   Posted: Nov 11, 2014 - 15:19 Reply with quote Back to top

Anyone knows if we can make tables with no borders (I'd rather not use floatcontainers this time)?

Image

EDIT - Ah, well, I've just rewritten everything using floatcontainers.

_________________
GLN 17 is out!
Image
DrPoods



Joined: Nov 14, 2013

Post   Posted: Nov 25, 2014 - 11:19 Reply with quote Back to top

I wish I could do all this Sad

_________________
"Gallifrey falls no more"
Do your part! Join the Adoption Agency NOW!
easilyamused



Joined: Jun 06, 2008

Post   Posted: Nov 30, 2014 - 14:15 Reply with quote Back to top

Is there any way to have a toggle button inside a toggle button?

Trying to be able to show season stats for one of my league teams and cant get it to work for the life of me.

_________________
Image
Rabe



Joined: Jun 06, 2009

Post   Posted: Nov 30, 2014 - 14:25 Reply with quote Back to top

Should work if you just put another toggle button and the block it toggles into the block the first button toggles. I know I have done it.

Somewhat like:

[Level 1 toggle button]
[Block 1, toggled by Level 1 toggle button]
[Level 2 toggle button]
[Block 2, toggled by Level 2 toggle button]
[/Block 2]
[/Block 1]

_________________
.
Image
sonrises



Joined: May 02, 2013

Post   Posted: Nov 30, 2014 - 15:27 Reply with quote Back to top

Hi,

Anyone knows how to center a Table?

thx
Rabe



Joined: Jun 06, 2009

Post   Posted: Nov 30, 2014 - 15:38 Reply with quote Back to top

Table content: [table=center][...][/table]
Table on page: [table automargin[...][/table]

The "align" value can also be used in [tr], [th] and [td] tags, I think.

_________________
.
Image
Display posts from previous:     
 Jump to:   
All times are GMT + 1 Hour
Post new topic   Reply to topic
View previous topic Log in to check your private messages View next topic