Bonjour!
J'ai chercher sur le forum et un peu sur google, mais je n'ai rien trouvé qui puisse réglé mon problème. J'ai un tableau à l'intérieur d'un div le problème c'est qu'il dépasse à droite. Voici le résultat et les codes. Pouvez-vous m'aider à trouver d'où vient mon problème?
FICHIER CSS
FICHIER HTML
Code : Sélectionner tout - Visualiser dans une fenêtre à part
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
54 /*--------------------------------------------------------*/ /*---------------------HTML-------------------------------*/ /*--------------------------------------------------------*/ html { height: 100%; } /*--------------------------------------------------------*/ /*---------------------BODY-------------------------------*/ /*--------------------------------------------------------*/ body { margin-bottom : 0px; margin-left: 0px; margin-right :0px; margin-top : 0px; height:100%; } /*--------------------------------------------------------*/ /*---------------------CONTAINER--------------------------*/ /*--------------------------------------------------------*/ #container { height:100%; } #primary { float: left; width:15%; height:100%; background-color :White; background-image : url('../images/side_left.png'); background-repeat: no-repeat; background-position: right 80px; } #content { float:left; width:70%; height:100%; max-width : 1200px; background-color :White; } #secondary { float:left; width:15%; height:100%; background-color :Yellow; background-color :White; background-image : url('../images/side_right.png'); background-repeat: no-repeat; background-position: left 80px; }
Code html : Sélectionner tout - Visualiser dans une fenêtre à part
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 <html> <body> <div id="container"> <div id="primary"> </div> <div id="content"> <table cellspacing=0 cellpadding=0 border=1 style="margin-top:40px;margin-left:40px;margin-right:40px;table-layout:fixed;width:100%"> <!--*******************************************--> <!--************LOGO ET PANIER*****************--> <!--*******************************************--> <tr> <td style="width:250px;"><img src="images/logo.png" style="width:250px" /></td> <td align=right> <form id="frmPanier" runat="server" > <asp:Label ID="lblNbItemsPanier" runat="server" Text="0"></asp:Label>ITEMS **<asp:Label ID="lblTest" runat="server" Text="Label">**</asp:Label> </form> </td> </tr> <!--*******************************************--> <!--*****************CONTENU*******************--> <!--*******************************************--> <tr> <td valign=top width=100% colspan=2> <asp:ContentPlaceHolder id="contenuprincipal" runat="server"> </asp:ContentPlaceHolder> </td> </tr> </table> </div> <div id="secondary"> </div> </div> </body> </html>
Soyez indulgent tout n'est pas mis en CSS encore, j'essaie juste de corriger pour tout cela prenne sa place ;-)
Merci de votre coup de main! :-)
Partager