Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-12437

Clean up redundant "clear" elements & "corners"

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.1.0-b3
    • 3.1.0-b2
    • Styles
    • None

      Since we are dropping IE6 & IE7 support, it would be nice to get rid of some redundant style elements like <span class="clear"></span>.

      They don't add anything if they are inside container with a clearing rule like:

      .inner:after {
          clear: both;
          content: "";
          display: block;
      }

      Since IE8 supports this method, we could simply remove these redundant elements.

      Additionally, there are still remnants of old "corners-top" and "corners-bottom" code, which can easily be removed.

            prototech prototech [X] (Inactive)
            PayBas PayBas [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: