Opened 18 years ago
Closed 18 years ago
#6228 closed defect (bug) (fixed)
Reduce dependency on inline style
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 2.5 | Priority: | normal |
| Severity: | normal | Version: | 2.5 |
| Component: | General | Keywords: | css rtl has-patch commit |
| Focuses: | Cc: |
Description
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:
- Uses
alignleftandalignrightclasses instead of hardcoded floats. - Uses new
textleftandtextrightclasses instead of hardcoded text-aligns. - Uses
check-columnand newnumclass to center those table columns rather than hardcoded text-aligns. Also simplifies and standardizes check-column markup. - Replaces
<br style="clear: both;" />with<br class="clear" />. - Uses new
button-highlightedclass instead of hardcoded font-weights. - Adds to css/theme-editor.css file to get rid of hardcoded styling in the theme and plugin editors.
Attachments (2)
Change History (6)
Note: See
TracTickets for help on using
tickets.
(In [7304]) Reduce dependency on inline style. Props mdawaffe. fixes #6228