r22502 - htdocs/branches/beta - Style the iframe to a minimum width

Geert Janssens gjanssens at code.gnucash.org
Fri Nov 2 06:21:04 EDT 2012


Author: gjanssens
Date: 2012-11-02 06:21:04 -0400 (Fri, 02 Nov 2012)
New Revision: 22502
Trac: http://svn.gnucash.org/trac/changeset/22502

Modified:
   htdocs/branches/beta/viewdoc.phtml
Log:
Style the iframe to a minimum width
Unfortunately iframes are not as flexible as I wanted, so we have to define a width
somewhere or it will only be very tiny. The same goes for height.

Modified: htdocs/branches/beta/viewdoc.phtml
===================================================================
--- htdocs/branches/beta/viewdoc.phtml	2012-11-02 08:56:02 UTC (rev 22501)
+++ htdocs/branches/beta/viewdoc.phtml	2012-11-02 10:21:04 UTC (rev 22502)
@@ -122,7 +122,7 @@
 <p style="color: red;"><?= T_("The document requested is not available in the requested language. The English version will be displayed instead.")?></p>
 <?php } ?>
 
-<iframe src="<?php echo $showurl; ?>">
+<iframe src="<?php echo $showurl; ?>" style="border-width: 0px; width: 100%; min-width: 700px; height: 80em;">
 <?php echo T_("It seems your browser doesn't support iframes. To view the requested page in a separate windows, please <a href=\"" . $showurl . "\">click here</a>."); ?>
 </iframe>
 



More information about the gnucash-changes mailing list