Loading...

Top
PFQ Banner

This is PokéFarm Q, a free online Pokémon collectables game.

Already a user? New to PFQ?

Single post in A Somewhat Extensive Guide to BBCodes

Forum Index > PokéFarm > Guides > A Somewhat Extensive Guide to BBCodes >

Mirzam's AvatarMirzam
Mirzam's Avatar
Hmm you put some padding on your table cells, and since the highlight element is inside that, there's the spacing. But wait, I think I have another idea. Maybe we can make the highlighted cells table header cells, and pick just the actual header to make it different!
example
This cell is short & wide

Code

[table] [tr] [th=4x1]example[/th] [/tr] [tr] [th][css="font-size:75%;"] This cell is short & wide [/css][/th] [th] [pkmn=shinx] [/th] [td] [pkmn=luxio] [/td] [td] [pkmn=luxray] [/td] [/tr] [tr] [th] [pkmn=shinx] [/th] [td] [pkmn=luxio] [/td] [td] [pkmn=luxray] [/td] [td] [pkmn=luxray/mega forme q] [/td] [/tr] [/table] [style] table, th, td { border-color: #ddd; } th, td { text-align: center; padding: 5px; } // actual header th[colspan] { padding: 7px; background: black; color: white; } // highlights th { background: #559; color: #ddf; } // unhighlighted td { background: #666; color: white; } [/style]
© PokéFarm 2009-2023 (Full details)Contact | Rules | Privacy | WikiGet shortlink for this page