WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: ZenphotoPress] <hr> makes for bad markup (2 posts)

  1. nosilver4u
    Member
    Posted 4 years ago #

    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.

    http://wordpress.org/extend/plugins/zenphotopress/

  2. Simbul
    Member
    Posted 4 years ago #

    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 ;)

Topic Closed

This topic has been closed to new replies.

About this Topic