Title: Red underscore appearing when using custom HTML
Last modified: August 21, 2016

---

# Red underscore appearing when using custom HTML

 *  [JohnSansom](https://wordpress.org/support/users/johnsansom/)
 * (@johnsansom)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/red-underscore-appearing-when-using-custom-html/)
 * When using custom HMTL output, I encountered a problem whereby a red underscore
   appeared between each image.
 * This occurred because the whitespace was being underlined for some reason.
 * Rather than create a new CSS class etc. I removed the style directly on the a
   tag.
 * For reference the full loop code I used is below. This was done to enable Google
   Analytics click tracking.
 *     ```
       <p>
       {$stickers_start}<a href="{$sticker_url}" onClick="_gaq.push(['_trackEvent', 'SocialButton', 'Click', '{$sticker_name}']);" target="_blank" title="{$sticker_name}" style="text-decoration:none;">{$sticker_img_64}</a>{$stickers_end}
       </p>
       ```
   
 * [http://wordpress.org/plugins/social-stickers/](http://wordpress.org/plugins/social-stickers/)

Viewing 1 replies (of 1 total)

 *  Anonymous User 9905372
 * (@anonymized-9905372)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/red-underscore-appearing-when-using-custom-html/#post-4492426)
 * You had red underscores because you had spaces between your links:
 * `<a href="http://twitter.com/SqlBrit" onclick="_gaq.push(['_trackEvent', 'SocialButton','
   Click', 'Twitter']);" target="_blank" title="Twitter"><img src="http://cdn.johnsansom.
   com/wp-content/plugins/social-stickers/themes/default/twitter.png" height="64"
   width="64"> </a>`
 * My code probably adds them I’ll check it out.
 * Cheers.

Viewing 1 replies (of 1 total)

The topic ‘Red underscore appearing when using custom HTML’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/social-stickers.svg)
 * [Social Stickers](https://wordpress.org/plugins/social-stickers/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/social-stickers/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/social-stickers/)
 * [Active Topics](https://wordpress.org/support/plugin/social-stickers/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/social-stickers/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/social-stickers/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: Anonymous User 9905372
 * Last activity: [12 years, 5 months ago](https://wordpress.org/support/topic/red-underscore-appearing-when-using-custom-html/#post-4492426)
 * Status: not resolved