Set border=0 on that img

IE9 shows a big nasty blue border on linked images if you don't specify border=0
This commit is contained in:
Herve Saint-Amand 2017-01-27 23:20:11 +00:00
parent 1def88b5d2
commit f83b719f03

View file

@ -1,4 +1,4 @@
<table style="font-size: 15px; font-style: italic; margin: 15px; background-color: #eee; width: 520px">
<table style="font-size: 15px; font-style: italic; margin: 15px 0px; background-color: #eee; width: 520px">
<tr>
<td style="width: 50px; vertical-align: top; padding: 15px">
<%= link_to(
@ -7,7 +7,8 @@
alt: @author,
title: @author,
width: 50,
height: 50
height: 50,
border: 0
),
user_url(@author, :host => SERVER_URL),
:target => "_blank"