https://bugzilla.wikimedia.org/show_bug.cgi?id=30292

Krinkle <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|Unprioritized               |Low
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX

--- Comment #2 from Krinkle <[email protected]> 2011-08-09 16:18:14 UTC ---
No need for an additional class.

Instead of

  .floatcenter {
    width:auto;
    margin-left:auto;
    margin-right:auto;
  }
  <div class="floatcenter">

 (which is confusing since there is no such thing as a centered float in CSS).
Simply use:

  <div style="margin: 0 auto;">.

Or, if you want a utility class, add (or ask a sysop to add) the following to
your local MediaWiki:Common.js:

  .aligncenter {
    margin-left: auto;
    margin-right: auto;
  }

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to