Support » Plugins » [Plugin: ZenphotoPress] <hr> makes for bad markup

  • There’s an obnoxious <hr> element added into the zenphotopress widgets that I had previously hidden using css. After rehauling my website, I wanted to make sure I was still XHTML 1.1 compliant (I know, I know, standards compliance isn’t everything). The <hr> that the widget adds is apparently in the wrong place. Does it even need to be there? I noticed from the screenshots that it doesn’t seem to have always been in the code. I just removed it, but if I ever upgrade the plugin, I’m assuming that will get overwritten, and I’ll have ‘bad’ code again.

Viewing 1 replies (of 1 total)
  • Simbul


    The purpose of the <hr> is mainly to avoid a mess when images are floating around. The idea is that you can make it disappear using CSS (with display:none).

    But you’re right: it is in the wrong place. I’ll move it away in the next release 😉

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: ZenphotoPress] <hr> makes for bad markup’ is closed to new replies.