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

Help with tables.

Creator: Re4XN December 19, 2015 7:23am
8 posts - page 1 of 1
Re4XN
<Member>
Re4XN's Forum Avatar
Show more awards
Posts:
1069
Joined:
May 31st, 2015
Permalink | Quote | PM | +Rep December 19, 2015 7:23am | Report
Hey there, I have an issue with tables.

Code:
[table][th bgcolor=#800099][anchor=table][center][size=6][b]Le Table Of Contents[/b][/size][/center][/th][/table]

The result:

Le Table Of Contents

As you can see, it is working as intended. When I'm on the forums. If I copy/paste it on a guide, it looks like this:


I am currently using a workaround with this code:


Code:
[table][tr][td bgcolor=#800099 width=730 padding=1][anchor=table][center][size=6][b]Le Table Of Contents[/b][/size][/center][/td][/tr][/table]

Le Table Of Contents


I don't mind using the workaround, but I'd like to know why doesn't the header work when using it in a guide page?
Janitsu
<Moderator>
Janitsu's Forum Avatar
Show more awards
Posts:
8829
Joined:
Jul 3rd, 2011
Permalink | Quote | PM | +Rep December 19, 2015 7:32am | Report
I think it could be an issue with how wide the guide is and how wide the forum is? Or maybe the fact that you are using font size, not the style code ([h1][/h1])?

Thanks to OwenTheAwesomer for the signature =)
Re4XN
<Member>
Re4XN's Forum Avatar
Show more awards
Posts:
1069
Joined:
May 31st, 2015
Permalink | Quote | PM | +Rep December 19, 2015 7:40am | Report
Janitsu wrote:
I think it could be an issue with how wide the guide is and how wide the forum is? Or maybe the fact that you are using font size, not the style code ([h1][/h1])?


Header 1 doesn't fix it. It may have to do with page width, like you said, though...
jhoijhoi
<MOBAFire Mother>
jhoijhoi's Forum Avatar
Show more awards
Posts:
14438
Joined:
Mar 20th, 2011
Permalink | Quote | PM | +Rep December 19, 2015 7:46am | Report
I hope this is an intentional feature, as I've based my Ashe guide headers on that and would dislike it if it changed, lol.
guide writing tips 'n tricksashes to ashesfancy a sig?

♡ sig by arrizen ♡
Foxy Riven
<Editor>
Foxy Riven's Forum Avatar
Show more awards
Posts:
865
Joined:
May 25th, 2013
Permalink | Quote | PM | +Rep December 19, 2015 8:21am | Report
Width should be 695 or smth. Shouldnt be the issue though. Clearing your cache should do the trick.
(Check out my guides, they're linked to their pictures!)

If I helped you in any way, that +REP is always nice^^
Foxy Riven
<Editor>
Foxy Riven's Forum Avatar
Show more awards
Posts:
865
Joined:
May 25th, 2013
Permalink | Quote | PM | +Rep December 19, 2015 8:23am | Report
Oh I saw a small icon instead, page didnt load correctly. Ill take a look when im home tonight.


By the way, try putting your anchor before your coding
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^^
Wayne3100
<Retired Admin>
Wayne3100's Forum Avatar
Show more awards
Posts:
7192
Joined:
Aug 3rd, 2011
Permalink | Quote | PM | +Rep December 19, 2015 9:00am | Report
If anything I'd say it's the guide version that is working properly. Why should the table be any wider than strictly necessary for "Le Table Of Contents" to fit if you don't specify a width?

(also it doesn't make a difference in this case but you're missing the [tr] and [/tr] tags in your code)

Thanks to Hoppermh for the signature!
Foxy Riven
<Editor>
Foxy Riven's Forum Avatar
Show more awards
Posts:
865
Joined:
May 25th, 2013
Permalink | Quote | PM | +Rep December 19, 2015 1:26pm | Report
Ye that's it. Didnt notice there wasnt a width specified... Wp wayne
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^^

You need to log in before commenting.

League of Legends Champions:

Teamfight Tactics Guide