[Zope3-checkins] SVN: Zope3/trunk/src/zope/app/preview/preview.pt
Replaced height=98% with height=500.
Shane Hathaway
shane at zope.com
Tue Nov 16 16:25:02 EST 2004
Log message for revision 28460:
Replaced height=98% with height=500.
In HTML/CSS, heights don't seem to expand the same way widths do. A
height of 100% does not expand the surrounding boxes, it only expands
the element to fit the height of the surrounding box. Therefore, we
have to fall back to a reasonable height.
Changed:
U Zope3/trunk/src/zope/app/preview/preview.pt
-=-
Modified: Zope3/trunk/src/zope/app/preview/preview.pt
===================================================================
--- Zope3/trunk/src/zope/app/preview/preview.pt 2004-11-16 19:02:17 UTC (rev 28459)
+++ Zope3/trunk/src/zope/app/preview/preview.pt 2004-11-16 21:25:01 UTC (rev 28460)
@@ -2,7 +2,7 @@
<body>
<div metal:fill-slot="body">
- <iframe src="." height="98%" width="98%"></iframe>
+ <iframe src="." height="500" width="100%"></iframe>
</div>
</body>
More information about the Zope3-Checkins
mailing list