Forum:Column Widths

Is it possible to change the widths of columns? I noticed the column widths are not balanced on the main page but when used on another page, the widths change. What causes this? - Random-storykeeper (YELL AT IT) 00:33, February 4, 2012 (UTC)


 * I suggest you look at the page source for w:c:nitrome:Portal:Games. If you're counting the right side-bar as a column then it really isn't that the columns are balanced, it is just that one page has columns that match the width of the side-bar more closely than the other. -- Fandyllic (talk &middot; contr) 8 Feb 2012 5:00 PM Pacific


 * Oh, what I meant was that on the Wiki's main page, the right column is narrower than the left. I want that to be the case for the games portal, as having the columns balanced isn't looking that great. Is that possible? - Random-storykeeper (YELL AT IT) 06:38, February 11, 2012 (UTC)
 * Try changing the whole source to:

{| class="collapsible collapsed" style="margin-left:72px; border: 1px solid silver" !Sam Wang's block of code




 * * Refresh
 * * Suggest a featured article!


 * * Purge for new featured media

 


 * * Vote!
 * * Suggest a Battle!
 * * Previous Results

What do you think about the quality of Nitrome's games? They're getting better They're getting worse They're not getting better or worse I don't mind, as long as they make more! '''Previous Month Poll Results

Game of the Year

 * Previous results * Create your own top list!




 * }


 * The main pages use special wiki tags to columnize the page to allow for Wikia's ad placement in the top right. The columns are set to roughly 70%/30%. The other page you listed uses Wikia's pre-set column templates; Template:Col-begin, Template:Col-2 and Template:Col-end. You can change a column's size by changing the width attribute in the style parameter. For instance, to set up a table with two columns of equal size, you'd want to use  for both of them. Rappy 07:18, February 11, 2012 (UTC)