Template talk:Listbox

From Yugipedia
Revision as of 18:16, 15 June 2014 by Deltaneos (talk | contribs) (Table to divs)
Jump to: navigation, search

This is the talk page for discussing the page, Template:Listbox.

Please try to

  • Be polite
  • Assume good faith
  • Be welcoming

Table to divs

Would there be any problem with replacing the table layout with divs?:

  • Changing the <table></table> tags to <div></div> tags with a clearfix
  • Removing the <tr></tr> tags
  • Replacing the <td></td> tags with <div></div> tags with the CSS float:left;width:33%;min-width:274px;

So that if the {{Decklist}} doesn't fit on the screen, the sections will line up vertically instead of either squashing or going off the screen? -- Deltaneos (talk) 23:56, June 13, 2014 (UTC)

As long as it doesn't break anything, I'd be all for it. How will it handle the Extra Deck box, though? While we're at it, we might as well move the CSS to MediaWiki:Common.css. ディノ千?!? · ☎ Dinoguy1000 04:50, June 14, 2014 (UTC)

When the screen is wide enough, it would display as it does now. When it's smaller, "Extra Deck" would appear vertically between "Monsters" and "Spells". -- Deltaneos (talk) 18:16, June 15, 2014 (UTC)