Author: mmu_man
Date: Sat Apr 7 13:52:54 2012
New Revision: 13826
URL:
http://source.netsurf-browser.org?rev=13826&view=rev
Log:
Display images as block to have them underneath the text link, and make them centered.
Modified:
branches/mmu_man/netsurf-gopher-support-v3/!NetSurf/Resources/internal.css,f79
branches/mmu_man/netsurf-gopher-support-v3/content/gopher.c
Modified: branches/mmu_man/netsurf-gopher-support-v3/!NetSurf/Resources/internal.css,f79
URL:
http://source.netsurf-browser.org/branches/mmu_man/netsurf-gopher-support...
==============================================================================
--- branches/mmu_man/netsurf-gopher-support-v3/!NetSurf/Resources/internal.css,f79
(original)
+++ branches/mmu_man/netsurf-gopher-support-v3/!NetSurf/Resources/internal.css,f79 Sat Apr
7 13:52:54 2012
@@ -231,3 +231,9 @@
background-repeat: no-repeat;
background-position: bottom left; }
+body#gopher span.img img {
+ display: block;
+ margin-left:auto;
+ margin-right:auto; }
+
+
Modified: branches/mmu_man/netsurf-gopher-support-v3/content/gopher.c
URL:
http://source.netsurf-browser.org/branches/mmu_man/netsurf-gopher-support...
==============================================================================
--- branches/mmu_man/netsurf-gopher-support-v3/content/gopher.c (original)
+++ branches/mmu_man/netsurf-gopher-support-v3/content/gopher.c Sat Apr 7 13:52:54 2012
@@ -544,7 +544,7 @@
if (nsoption_bool(gopher_inline_images)) {
error = snprintf(buffer, buffer_length,
"<a href=\"gopher://%s%s%s/%c%s\">"HTML_LF
- "<span class=\"img\">%s "HTML_LF /*
</span><br/> */
+ "<span class=\"img\">%s"HTML_LF /*
</span><br/> */
/*"<span class=\"img\" >"HTML_LF*/
"<img src=\"gopher://%s%s%s/%c%s\"
alt=\"%s\"/>"HTML_LF
"</span>"