More interesting details:
- This page has not being changed for a long time.
- The bug happens on recently introduced Arabic version only
Fortunately I found yet another N95 at the office and saw that the problem happens.
I checked what is written in code and saw the following:
<img align="middle" src="http://www.my.com/images/share.png"/>
<a class="actionHeader" style="margin-top:0px;" href="<%=shareLink%>"><%=Lang.getString("share") %></a><br />
The code contained newline right after . I added some text between and new line and problem disappeared. So, the solution was to add a single space after
Conclusions
My “fix” works but it is bad and very fragile solution. The best way is using margin style for img. Something like the following:
<img align="middle" style="margin-right:1em" src="http://
www.my.com/
images/share.png"/>
No comments:
Post a Comment