http://qs321.pair.com?node_id=11121746

<center> elements are being used in the divs with the class reputation. <center> has been rendered obsolete, deprecated in HTML 4 and XHTML 1.

Obsolete

This feature is obsolete. Although it may still work in some browsers, its use is discouraged since it could be removed at any time. Try to avoid using it.

- <center>: The Centered Text element (obsolete) on MDN web docs

Please remove the <center> elements in favor of using the CSS property text-align: center?

Edit: It is easier to restyle text-align: then to style the <center> tag.

My OS is Debian 10 (Buster); my perl versions are 5.28.1 local and 5.16.3 or 5.30.0 on web host depending on the shebang.

No matter how hysterical I get, my problems are not time sensitive. So, relax, have a cookie, and a very nice day!
Lady Aleena

Replies are listed 'Best First'.
Re: div class reputation nit
by jdporter (Paladin) on Sep 14, 2020 at 20:33 UTC

    Patches applied; check it now.

    I reckon we are the only monastery ever to have a dungeon stuffed with 16,000 zombies.

      I commend your rapid patching. Even though it broke my ajax voting code. :P

        Thanks. Sorry about that. I hope it won't take much to restore it to working order.

      Please move the style to css/common.css (around line 50) instead of it being inline. Pretty please?

      My OS is Debian 10 (Buster); my perl versions are 5.28.1 local and 5.16.3 or 5.30.0 on web host depending on the shebang.

      No matter how hysterical I get, my problems are not time sensitive. So, relax, have a cookie, and a very nice day!
      Lady Aleena
Re: div class reputation nit
by jcb (Parson) on Sep 15, 2020 at 02:04 UTC

    Now this is a change I can support and a step in the right direction towards using <div> for layout. The next step is to move the inline style attributes to a linked stylesheet so we can have different stylesheets for screen display, hardcopy, and mobile.

    Instead of inline style, there should be a "base" stylesheet with: (if I remember CSS correctly)

    .reputation { text-align: center; margin: 0 auto; }

      Agreed. I should have been more explicit about where I wanted the style for those elements to go. I did not mean for the style to be inline. All styles need to be in the css file, so our personal styles can be applied.

      Edit: div.reputation is in the common.css already, so this could be added to it, though it shares its style definitions with span.modvote.

      My OS is Debian 10 (Buster); my perl versions are 5.28.1 local and 5.16.3 or 5.30.0 on web host depending on the shebang.

      No matter how hysterical I get, my problems are not time sensitive. So, relax, have a cookie, and a very nice day!
      Lady Aleena