Copygram widget
HTML Rewrite (1 post)

  1. armahillo
    Posted 3 years ago #

    Would it be possible to re-write the HTML and CSS? It is not very semantic.

    For one, instead of using nested DIVs, it should really use a UL+LI, then style it with CSS. Like this:

    <div id="copygram-widget-2" class="widget widget_copygram-widget">
    <h4 class="widgettitle">My Instagrams</h4>
    <a href="...filename.jpg" target="_blank" style="width:150px;height:150px;">						<img src="...filename.jpg" style="width:150px;height:150px;" alt="description"/>

    The CSS could be cleaned up accordingly. This would greatly help semantic readability.

    Also -- the "alt" properties are not escaped correctly, so a double-quote that was included in my description ends up prematurely breaking the description.


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Copygram widget
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic