Forum:How do you make boxes in coding?

I want know how to make boxes and stuff for my wiki through souce code. Anyone know how? MissingNo. here! Talk with me! 05:12, January 5, 2012 (UTC)


 * I usually use  tags. For a blue box with a red border which contains the word "text" in green, use the code:

Text!! ...which makes:

Text!!

That's how you make a basic box, if you want some more complex code just describe exactly what you're imagining. 05:18, January 5, 2012 (UTC)


 * You can also just use tables


 * ForestMonthZero 08:23, January 5, 2012 (UTC)


 * Yuck! Please learn some standards! Never use tables for content or layout, their entire point is tabular data. Use divs for boxes and spans for inline.WiltedChameleon
 * The entire point of wikis is to use wiki-coding as much as possible, since it isn't a standard webhost, as wikicoding is supposed to be easier and more consistent (whether it is or not is a different question). We could just go back to coding HTML and trying to decipher crap that automated HTML creation tools build, on standard webhosts, but wikis do have wikicode. This example uses wikitables, not HTML tables (even if they amount to the same thing in the end; you can't mix and match HTML table code and wiki table code, on Wikia (I've tried, they don't work together)) ForestMonthZero 09:47, January 7, 2012 (UTC)


 * Due to various issues (mostly alignment and proper positioning) I would advise against using div blocks on wikis, when not necessary. Especially since the table wiki-markup is pretty straightforward to learn. The predominate web development trend to switch from tables to div blocks doesn't really apply to wiki editing, it's all personal preference here. — Sovq 17:13, January 6, 2012 (UTC)