[wp-trac] [WordPress Trac] #22086: HTML5 and cellspacing="0" in admin pages

WordPress Trac wp-trac at lists.automattic.com
Wed Oct 3 20:38:35 UTC 2012


#22086: HTML5 and cellspacing="0" in admin pages
-------------------------------------------------+-------------------------
 Reporter:  MattyRob                             |       Owner:
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
Component:  Administration                       |  Review
 Severity:  minor                                |     Version:  trunk
 Keywords:  has-patch needs-testing 2nd-opinion  |  Resolution:
-------------------------------------------------+-------------------------
Changes (by helenyhou):

 * keywords:  has-patch needs-testing ui-feedback 2nd-opinion => has-patch
     needs-testing 2nd-opinion


Comment:

 Actually, `padding` is not equivalent to `cellspacing`. You want `border-
 collapse` and `border-spacing`. If you look carefully, I think you'd find
 that removing padding like that results in lots of unwanted side effects.
 Additionally, you'll want to be sure to only apply the rules to table
 elements with those selectors, as things like `.widefat` can be used for
 all kinds of elements. Also, structural CSS should not go in color files
 but rather the `wp-admin.css` sheet.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/22086#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list