You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2012/08/23 18:09:14 UTC
svn commit: r1376566 -
/myfaces/tobago/trunk/tobago-theme/tobago-theme-scarborough/src/main/resources/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/style/tobago.css
Author: lofwyr
Date: Thu Aug 23 16:09:13 2012
New Revision: 1376566
URL: http://svn.apache.org/viewvc?rev=1376566&view=rev
Log:
TOBAGO-1193: Pages are not scaled down when printed
Modified:
myfaces/tobago/trunk/tobago-theme/tobago-theme-scarborough/src/main/resources/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/style/tobago.css
Modified: myfaces/tobago/trunk/tobago-theme/tobago-theme-scarborough/src/main/resources/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/style/tobago.css
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-theme/tobago-theme-scarborough/src/main/resources/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/style/tobago.css?rev=1376566&r1=1376565&r2=1376566&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-theme/tobago-theme-scarborough/src/main/resources/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/style/tobago.css (original)
+++ myfaces/tobago/trunk/tobago-theme/tobago-theme-scarborough/src/main/resources/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/style/tobago.css Thu Aug 23 16:09:13 2012
@@ -31,12 +31,11 @@ form {
The "position: fixed;" doesn't work with ie6 and makes
on other browsers problems, when clicking the menu (the scroll panel scrolls then).
*/
-html, body {
+html {
height: 100%;
width: 100%;
padding: 0;
margin: 0;
- overflow: hidden;
}
/* box ---------------------------------------------------------------- */
@@ -604,11 +603,12 @@ li.tobago-menu-markup-selected {
font-size: 14px;
padding: 0;
margin: 0;
+ height: 100%;
width: 100%;
top: 0;
left: 0;
- overflow: auto;
- position: absolute;
+ /* relative instead of absolute, because IE: printing wouldn't be scaled */
+ position: relative;
z-index: 0;
}