Project

General

Profile

Actions

Defect #15307

closed

HTML 5 deprecates width and align attributes

Defect #15307: HTML 5 deprecates width and align attributes

Added by Ksenia Altbregen about 13 years ago. Updated about 13 years ago.

Status:
Closed
Priority:
Normal
Category:
Code cleanup/refactoring
Target version:
Resolution:
Fixed
Affected version:

Description

Asserted fixes for HTML 5. Part 2.

<align> tag is obsoleted. It is recommended to use CSS instead.
I simply changed

<tag align="left|right|center"></tag>

into
<tag style="text-align: left|right|center;"></tag>

everywhere I've found this tag.


Files

obsoleted_tag_align.diff (30.3 KB) obsoleted_tag_align.diff Ksenia Altbregen, 2013-11-08 14:39

Related issues 1 (0 open — 1 closed)

Related to Redmine - Defect #19578: Issues reports table header overlapingClosedGo MAEDAActions

Updated by Ksenia Altbregen about 13 years ago Actions #1

Related to Defect #5475.
Related to Defect #15191.

Updated by Jean-Philippe Lang about 13 years ago Actions #2

  • Subject changed from HTML 5 validation failures to HTML 5 deprecates width and align attributes
  • Category set to Code cleanup/refactoring
  • Status changed from New to Resolved
  • Assignee set to Jean-Philippe Lang
  • Target version set to 2.4.0
  • Resolution set to Fixed

I've refactored the css classes a bit to limit the use of hard-coded styles in r12268, thanks for pointing this out.

Updated by Jean-Philippe Lang about 13 years ago Actions #3

  • Status changed from Resolved to Closed

Merged.

Updated by Go MAEDA almost 9 years ago Actions #4

  • Related to Defect #19578: Issues reports table header overlaping added
Actions

Also available in: PDF Atom