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

       Web browser: ---
             Bug #: 30292
           Summary: Implement floatcenter class
           Product: MediaWiki
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: Unprioritized
         Component: User interface
        AssignedTo: [email protected]
        ReportedBy: [email protected]
    Classification: Unclassified


There are floatright and floatleft classes to make div or table elements right-
or left-floated. I want new "floatcenter" class for center-floated boxes. It
would be fairly popular in English Wikipedia where {{center}} template is
widely used. Possible implementation is:
<syntaxhighlight lang="css">
.floatcenter {
  width:auto;
  margin-left:auto;
  margin-right:auto;
}
</syntaxhighlight>

-- 
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