Skip to content

Commit

Permalink
refs #7290. Fix IE7 issue.
Browse files Browse the repository at this point in the history
Use float:right in css rather than the image property. Seems to work for all browsers.
  • Loading branch information
OwenArnold committed Jun 13, 2013
1 parent f6b1b08 commit 2e30ca1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Code/Mantid/Build/wiki_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -589,7 +589,7 @@ def do_make_wiki(algo_name, version, latest_version):
"""

external_image = "http://download.mantidproject.org/algorithm_screenshots/ScreenShotImages/%s_dlg.png" % algo_name
out = "<anchor url='%s'><img width=400px align='right' src='%s' style='position:relative; z-index:1000; padding-left:5px;'></anchor>\n\n" % (external_image, external_image)
out = "<anchor url='%s'><img width=400px src='%s' style='position:relative; z-index:1000; padding-left:5px; float:right;'></anchor>\n\n" % (external_image, external_image)

# Deprecated algorithms: Simply return the deprecation message
print "Creating... ", algo_name, version
Expand Down

0 comments on commit 2e30ca1

Please sign in to comment.