Admin Forum:Css code to expand a table automatically

The following code in your MediaWiki:Common.css will make all tables expand, cover the right side-rail, if they are wide enough for the pop-out button shows up .WikiaWideTablesWrapper canvas { display: none; } .WikiaWideTablesWrapper > .table { overflow: visible; }


 * What I want to know is this :

Is there specific code that can be applied to a specific table class so that only that 1 table is shown expanded? Not every table on the wiki that is wide.

-- 17:47, January 27, 2013‎ (UTC)


 * Yes, use an id on the table and specify an id in your CSS.
 * Table code:
 * CSS:
 * -- Fandyllic (talk &middot; contr) 28 Jan 2013 5:35 PM Pacific
 * -- Fandyllic (talk &middot; contr) 28 Jan 2013 5:35 PM Pacific

I thank you Fandyllic for your quick reply but what I was asking for is " What is the specific css code that I need to add to my table code that will make it auto pop-out " the code I posted above is not specific to any table -- all tables if they are wider than the wiki article space then they will pop-out over the right rail -- I wanted specific code to add to specific tables so only that one table will do so not all table or no tables.

I mean I need the specific { css stuff } that has to be applied.

-- 01:52, January 29, 2013 (UTC)

As Fandyllic said, apply the id of expandoTable1 and remove the .WikiaWideTablesWrapper > .table and replce with .WikiaWideTablesWrapper > table#expandoTable1 { overflow: visible; }