Click to open network menu
Join or Log In
Mobafire logo

Join the leading League of Legends community. Create and share Champion Guides and Builds.

Create an MFN Account






Or

's Forum Avatar

How to Make Dividers Using Tables

Creator: jamespongebob August 2, 2014 2:45am
1 2
jamespongebob
<Wingman>
jamespongebob's Forum Avatar
Show more awards
Posts:
619
Joined:
Jan 5th, 2013
Permalink | Quote | PM | +Rep August 2, 2014 2:45am | Report
Hello. So with the addition of tables to Mobafire, it's now possible to make dividers using coding without resorting to [rule]. This is because table cells can have background colors. Anyhow, so the pros of using tables are: A.) They load faster than images, B.)They're generally easier to make, C.)They can reach the maximum guide width of 705 px. whereas images can only reach 685 px., and D.) They're prettier than using [rule].

The cons are kind of obvious. Less variety than making your own dividers on Photoshop and what not.

So how you're going to make a divider is basically setting a bgcolor to a cell, and making the table row 705 px. wide, and adding padding. You can adjust the height of the divider by adjusting the padding. As an example, here is one that is monocolored.



basic code



Easy peasy. If you want more colors, you can add more cells and change the bgcolors. For example,







You can also give the appearance of borders on the dividers by putting a bg color on the table tag.




If you want to see the coding used for all the dividers, just hit the quote button. Most of the bgcolors were taken from bbcode generators such as this and this.


Cheers.
My Guides

Foxy Riven
<Editor>
Foxy Riven's Forum Avatar
Show more awards
Posts:
865
Joined:
May 25th, 2013
Permalink | Quote | PM | +Rep August 2, 2014 3:06am | Report
Nice!

I just finished a table coding guide, mind if I add an example of this, giving you all the credit and linking this post?


Also, the basic code should be this:

[table][tr][td width=705 bgcolor=COLOR][color=transparent].[/td][/tr][/table]
(Check out my guides, they're linked to their pictures!)

If I helped you in any way, that +REP is always nice^^
jamespongebob
<Wingman>
jamespongebob's Forum Avatar
Show more awards
Posts:
619
Joined:
Jan 5th, 2013
Permalink | Quote | PM | +Rep August 2, 2014 3:10am | Report
No problem.


Since I put the 705 in the [tr], I thought I may as well keep it uniform even if there is only one cell. It doesn't really matter either way.
My Guides

Foxy Riven
<Editor>
Foxy Riven's Forum Avatar
Show more awards
Posts:
865
Joined:
May 25th, 2013
Permalink | Quote | PM | +Rep August 2, 2014 3:14am | Report
Thanks!

Hmm, didn't work before.

Let's see:
.

edit:

Well it works here but it doesn't work on the guide O.o
Thanks Emikadon for the sig!
(Check out my guides, they're linked to their pictures!)

If I helped you in any way, that +REP is always nice^^
jamespongebob
<Wingman>
jamespongebob's Forum Avatar
Show more awards
Posts:
619
Joined:
Jan 5th, 2013
Permalink | Quote | PM | +Rep August 4, 2014 8:45pm | Report
You could try adding an uncolored row with the width setting beneath or above it.
My Guides

Jovy
<Admin>
Jovy's Forum Avatar
Posts:
9609
Joined:
Nov 18th, 2011
Permalink | Quote | PM | +Rep August 5, 2014 6:33am | Report
Actually looks pretty complicated to me. The multicolored ones, I mean.

.
Ubnoxius
<Altruistic Artist>
Ubnoxius's Forum Avatar
Show more awards
Posts:
471
Joined:
Jul 13th, 2013
Permalink | Quote | PM | +Rep August 5, 2014 7:17am | Report
interesting, cool, but kind of blocky, if you're making a minecraft guide then these would be good.
Check out my Signature Shop if you want a sig like this | +Rep is nice If I helped you!
jamespongebob
<Wingman>
jamespongebob's Forum Avatar
Show more awards
Posts:
619
Joined:
Jan 5th, 2013
Permalink | Quote | PM | +Rep August 5, 2014 3:42pm | Report
Quoted:
Actually looks pretty complicated to me. The multicolored ones, I mean.

.



The multicolored ones are just about adding more [td bgcolor=#COLOR][color=transparent].[/td] after the first.
My Guides

astrolia
<Fabulous>
astrolia's Forum Avatar
Show more awards
Posts:
1168
Joined:
Sep 24th, 2011
Permalink | Quote | PM | +Rep August 10, 2014 4:33pm | Report
You don't need to use transparent text. You can set the padding in the td to control the height. However, it adds padding to all 4 sides (top, bottom, left, right) so padding=1 will give you a "height" of 2 pixels (1 on top, 1 on bottom).

Example:

hi embracing. yes i play ff14 now.
jamespongebob
<Wingman>
jamespongebob's Forum Avatar
Show more awards
Posts:
619
Joined:
Jan 5th, 2013
Permalink | Quote | PM | +Rep August 19, 2014 3:45pm | Report
^thanks

The op has been updated.
My Guides

1 2

You need to log in before commenting.

League of Legends Champions:

Teamfight Tactics Guide