Changes

ADVERTISEMENT
From Diablo Wiki
Jump to: navigation, search

User talk:JMJimmy

972 bytes added, 13:25, 22 October 2009
no edit summary
::I'm gonna polish up the [[amazon]] skills now, as I'm gonna make a news item about them. Too bad you didn't start with them. I can't spend the time to update them with the new template, however, so it will come for later news features :) Again, awesome work mate! --[[User:Leord|Leord]] 12:32, 22 October 2009 (CEST)
 
:::Thanks, it was quite the learning experience, I'd actually never created a template before. The one thing with the header you're trying to create, while it looks great, doing it with colspan is computationally very expensive. Even though you're specifying colspan=some number, the browser actually has to render the entire table before it can render that header because it needs to verify if there should be "dead space" (ie: colspan=2 with a 3 column table needs 1 column of dead space). I've updated the Skill Progression template with a second table instead.
 
:::Regarding the padding, you can easily override this if you wish, either in tablebox CSS class (add: !important padding:0px;) or directly in the wikitext [[User:JMJimmy|JMJimmy]] 15:25, 22 October 2009 (CEST)
<pre>
{|style="padding:0px;"
...tablestuff...
|}
-or-
{|style="padding: 0px 0px 0px 0px;" //to specify individual padding in the order of top, right, bottom, left.
...tablestuff...
|}
</pre>
369
edits