[vlma-devel] commit: Increase the page container width. (Adrien Grand )

git version control git at videolan.org
Tue Apr 22 00:29:22 CEST 2008


vlma | branch: master | Adrien Grand <jpountz at videolan.org> | Mon Apr 21 22:46:55 2008 +0200| [b86a153276c7cbadd60f34e67d2e7c3de33a6389]

Increase the page container width.

Lots of pages of the VLMa web module use large tables which don't
display well with a close page container.

> http://git.videolan.org/gitweb.cgi/vlma.git/?a=commit;h=b86a153276c7cbadd60f34e67d2e7c3de33a6389
---

 web/src/main/webapp/WEB-INF/jsp/template.jsp |   10 ++++++----
 web/src/main/webapp/css/style.css            |   13 ++++++-------
 2 files changed, 12 insertions(+), 11 deletions(-)

diff --git a/web/src/main/webapp/WEB-INF/jsp/template.jsp b/web/src/main/webapp/WEB-INF/jsp/template.jsp
index f033d6b..b2b4674 100644
--- a/web/src/main/webapp/WEB-INF/jsp/template.jsp
+++ b/web/src/main/webapp/WEB-INF/jsp/template.jsp
@@ -24,10 +24,12 @@
 </div>
 
 <div class="subheader">
-<div class="subheader_right"><tiles:insert
-    attribute="subheader_right" /></div>
-<div class="subheader_left"><tiles:insert
-    attribute="subheader_left" /></div>
+<div class="subheader_left">
+    <tiles:insert attribute="subheader_left" />
+</div>
+<div class="subheader_right">
+    <tiles:insert attribute="subheader_right" />
+</div>
 </div>
 
 <div class="left"><tiles:insert attribute="left" /></div>
diff --git a/web/src/main/webapp/css/style.css b/web/src/main/webapp/css/style.css
index 793b738..6eb993f 100644
--- a/web/src/main/webapp/css/style.css
+++ b/web/src/main/webapp/css/style.css
@@ -66,7 +66,8 @@ p.lien
 
 #content {
     margin: 0px auto; 
-    width: 780px; 
+    min-width: 780px;
+    width: 80%;
 }
 
 .header { 
@@ -90,6 +91,7 @@ p.lien
 }
 
 .subheader_left {
+    float: left;
     line-height: 28px;
     font-weight: bold;
     width: 193px;
@@ -108,8 +110,7 @@ p.lien
     background: #F6F6F6 url(hmrightbg.gif) repeat-x;
     color: #626262;
     line-height: 28px;
-    float: right;
-    width: 574px;
+    margin-left: 205px;
 }
 
 .subheader_right a {
@@ -134,10 +135,8 @@ p.lien
 }
 
 .right {
-    float: right;
-    width: 560px;
-    margin: 0 0 20px 0; 
-    padding: 5px 0 0 15px; 
+    margin: 0 0 20px 204px; 
+    padding: 5px 0 0 15px;
     color: #000;
     background-color: #FFFFFF; 
     border-left: 1px solid #e6e6e6;



More information about the vlma-devel mailing list