affichage un peu plus joli sous IE

darcs-hash:20060916000002-f46e9-00d5c4ad8c22a511b6e82d440f38695ab4cabf78.gz
This commit is contained in:
gdetrez 2006-09-16 02:00:02 +02:00
parent 58c7254f7f
commit 4f6c248b33
2 changed files with 44 additions and 24 deletions

View file

@ -42,11 +42,7 @@ html {
line-height: 1.1em; line-height: 1.1em;
} }
body { #content, #preview {
margin: 0;
}
#page, #preview {
padding-left:3.5em; padding-left:3.5em;
} }

View file

@ -33,11 +33,25 @@ toute autre regle css !!!
@import url('/wiki/common/EventCalendar/EventCalendar.css'); @import url('/wiki/common/EventCalendar/EventCalendar.css');
/*<!-- BODY -->*/ /*<!-- BODY -->*/
body body, html{
padding:0;
margin:0;
}
div#content
{ {
background:white; background:white;
padding-top:40px; position:relative;
padding-right:170px; margin:40px 170px 0 0;
padding:0 15px 0 4.5em;
background-image: url("../img/fond.png");
background-repeat: no-repeat;
background-position: center center;
background-attachment: fixed;
min-height:500px;
overflow:auto;
} }
/*<!-- TITRE -->*/ /*<!-- TITRE -->*/
@ -47,9 +61,9 @@ div#titleBarre {
position: fixed; /* positionnement */ position: fixed; /* positionnement */
left: 0; left: 0;
top: 0; top: 0;
padding:0;//5px 0 0 15px; padding:0;
margin:0; margin:0;
height: 40px;//35px ; height: 40px;
width:100%; width:100%;
border-bottom: thin solid #f9821d;//orange; border-bottom: thin solid #f9821d;//orange;
background: url(../img/BarreOrange.png) repeat-x; background: url(../img/BarreOrange.png) repeat-x;
@ -65,12 +79,16 @@ div#titleBarre * {
h1#title h1#title
{ {
/* pour ie */
position:absolute;
top:0;
/* fin pour ie */
margin: 0; margin: 0;
display:block; display:block;
width:100%; width:100%;
height:25px; height:25px;
padding:5px 10px 10px 10px; padding:5px 10px 10px 10px;
background: url(../img/BarreLogo.png) no-repeat right bottom; background: url(../img/BarreLogo.png) no-repeat right top;
} }
h1#title a { h1#title a {
@ -107,6 +125,7 @@ div#column-one {
/* couleurs */ /* couleurs */
background:#eeeeee; background:#eeeeee;
border-left:thin solid #bbbbbb; border-left:thin solid #bbbbbb;
border-bottom:thin solid #bbbbbb;
} }
div#column-one li a { div#column-one li a {
@ -165,15 +184,6 @@ div.portlet:after {
margin: 0 4px; margin: 0 4px;
} }
div#content{
background-image: url("../img/fond.png");
background-repeat: no-repeat;
background-position: center center;
background-attachment: fixed;
padding-left: 15px;
padding-right: 10px;
min-height:450px;
}
/*<!-- EDITEUR DE TEXTE -->*/ /*<!-- EDITEUR DE TEXTE -->*/
@ -242,18 +252,31 @@ textarea {
/* Collection de hacks à la con pour IE */ /* Collection de hacks à la con pour IE */
@media screen { @media screen {
* html { /* * html {
overflow-y: hidden; overflow: hidden;
} }
* html body { /**/
/* * html body {
overflow-y: auto; overflow-y: auto;
height: 100%; height: 100%;
padding: 44px 160px 0 1em; //padding: 44px 160px 0 1em;
font-size: 100%; font-size: 100%;
} }
/**/
/* * html body {
overflow: hidden;
height: 100%;
}
* html body #page {
overflow: auto;
height: 100%;
}
/**/
* html div#column-one { * html div#column-one {
position: absolute; position: absolute;
} }
/**/
* html h1#title * html h1#title
{ {
position: absolute; position: absolute;
@ -266,3 +289,4 @@ textarea {
} }
} }
/**/