[wp-trac] [WordPress Trac] #6228: Reduce dependency on inline style

WordPress Trac wp-trac at lists.automattic.com
Fri Mar 14 23:54:02 GMT 2008


#6228: Reduce dependency on inline style
----------------------+-----------------------------------------------------
 Reporter:  mdawaffe  |       Owner:  anonymous
     Type:  defect    |      Status:  new      
 Priority:  normal    |   Milestone:  2.5      
Component:  General   |     Version:  2.5      
 Severity:  normal    |    Keywords:  css rtl  
----------------------+-----------------------------------------------------
 The new design implementation has a lot of inline style.  WordPress has
 historically stayed away from inline styling to aid skinners and, more
 importantly, RTL users.

 Attached:
  1. Uses {{{alignleft}}} and {{{alignright}}} classes instead of hardcoded
 floats.
  2. Uses new {{{textleft}}} and {{{textright}}} classes instead of
 hardcoded text-aligns.
  3. Uses {{{check-column}}} and new {{{num}}} class to center those table
 columns rather than hardcoded text-aligns.  Also simplifies and
 standardizes check-column markup.
  4. Replaces {{{<br style="clear: both;" />}}} with {{{<br class="clear"
 />}}}.
  5. Uses new {{{button-highlighted}}} class instead of hardcoded font-
 weights.
  6. Adds to css/theme-editor.css file to get rid of hardcoded styling in
 the theme and plugin editors.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/6228>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list