User talk:Happypal/Archive July 2011

Table
Ok, I really hate that table style. The double borders are awful. -- Wynthyst  talk  14:01, 19 May 2011 (UTC)
 * Me too! I forgot to put a "border-collapse:collapse" in there...
 * I was a bit hasty in my request, I'm tweaking it locally right now, and I'll show you the finished product. Happypal 14:02, 19 May 2011 (UTC)
 * The tables here pretty much do not have internal borders, I think it's a much cleaner look. -- Wynthyst [[Image:User Wynthyst sig icon.png ]] talk  14:06, 19 May 2011 (UTC)
 * Me too. I'm writting something better right now. Happypal 14:06, 19 May 2011 (UTC)

Tables 2
Ok, here are two tables. If you find them good, the css should work correctly this time. Sorry for asking the first time without even checking, how arrogant of me! Happypal 14:22, 19 May 2011 (UTC)
 * The first (left) is truer to the current desing.
 * The second (right) has slightly rounded internal edges. I find it more attractive to the eye.


 * Need a little more padding between headers and outer border.... I prefer the first one btw. -- Wynthyst [[Image:User Wynthyst sig icon.png ]] talk  15:08, 19 May 2011 (UTC)

Table 3
Like this? I added some padding between the outer box and the internal cells. It is should result in an exact css replica of the infobox. The only differences are the margins, since the infobox floats on the right, and a table is not a float, and on the left. table.terraria { margin: 1em 1em 1em 0; background: #f9f9f9; border: 1px #aaaaaa solid; padding: 0.2em; -moz-border-radius: .7em; -webkit-border-radius: .7em; } .terraria th, .terraria td { padding: 0.2em; } .terraria th { background: #E4F0F7; color: #063B5E; text-align: center; } .terraria td { } .terraria caption { font-weight: bold; }

Damn You
Actually that's exactly what I was trying to do with it. Thank you, I'll be cannibalizing your code later to make a new one =D -Shadowclaimer 14:55, 20 May 2011 (UTC)
 * Just, you'll notice I put 2 rows for the torch: The first one uses a rowspan="2" mech, whereas the second simply uses a br. I think the br approach is better, because the code is easier. Once put in production, editors will tear your table appart, so simpler is better. Happypal 15:05, 20 May 2011 (UTC)
 * I'm still very new to making tables so I'm taking the cannibalization method for making them where I look at code on other tables and appropriate it elsewhere. I've used a couple guides (IE: Wikipedia's table guide) but its still a tad complicated (I'm used to other wikis where making tables is done with a tool lol). I intend to eventually hope my table comes out well enough to be approved to takeover the Recipe page with, as I feel the icons add some much needed flail, but thats still up for debate lol -Shadowclaimer 15:42, 20 May 2011 (UTC)
 * br's suck.. and I will be removing them anywhere I find them :P -- Wynthyst [[Image:User Wynthyst sig icon.png ]] talk  16:08, 20 May 2011 (UTC)