Bonjour,
A force d'essayer de faire du Voodoo dans mon css, je suis totalement perdu :cry:
Voici mon layout:
Code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25 <body> <div class="page"> <div id="header"> <div id="menucontainer"> <div id="title"> <h1> Gestion Prod</h1> </div> <div id="logindisplay"> Welcome <strong>@User.Identity.Name</strong>! </div> <ul id="menu"> <li>@Html.ActionLink("Home", "Index", "Home")</li> <li>@Html.ActionLink("About", "About", "Home")</li> <li>@Html.ActionLink("Admin", "Index", "Admin")</li> </ul> </div> </div> <div id="main"> @RenderBody() </div> <div id="footer"> </div> </div> </body>
et le CSS (besoin de plus de details ?)
Code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53 body { position:absolute; background-color: #5c87b2; font-size: .85em; font-family: "Trebuchet MS" , Verdana, Helvetica, Sans-Serif; margin: 0; padding: 0; color: #696969; width: 100%; } .page { margin: 0; padding: 0; overflow: hidden; top: 0px; bottom: 0px; } header, #header { width: 100%; top:0px; height:40px; } #main { top: 40px; overflow: auto; padding: 15px; background-color: #fff; border-radius: 4px 0 0 0; -webkit-border-radius: 4px 0 0 0; -moz-border-radius: 4px 0 0 0; } footer, #footer { bottom: 0px; height: 40px; background-color: #fff; color: #999; padding: 2px 0; text-align: center; line-height: normal; margin: 0 0 30px 0; font-size: .9em; border-radius: 0 0 4px 4px; -webkit-border-radius: 0 0 4px 4px; -moz-border-radius: 0 0 4px 4px; }
Ma page contient des divs (en gris) qui sont censees occuper une grande partie de l'écran, mais voila le resultat.
http://img4.hostingpics.net/pics/114992Untitled.png
Merci pour toute aide