Tableau et Div

perechev Messages postés 6 Date d'inscription jeudi 22 janvier 2004 Statut Membre Dernière intervention 18 avril 2005 - 15 avril 2005 à 17:11
GhislainLavoie Messages postés 289 Date d'inscription vendredi 11 mars 2005 Statut Membre Dernière intervention 3 avril 2008 - 20 avril 2005 à 00:50
Bonjour,

J'ai un probleme lorsque je place un tableau dans un DIV, j'ai besoin que la 1ere colonne
de mon tableau reste fixe lorsque je déplace la barre de dédilement horizontalement. Peut-on le faire ou doit-on faire cela en deux tableaux (et à ce moment là, j'aurai un trou entre les deux tableaux que je ne veux pas) ?

Merci d'avance

3 réponses

GhislainLavoie Messages postés 289 Date d'inscription vendredi 11 mars 2005 Statut Membre Dernière intervention 3 avril 2008 3
15 avril 2005 à 23:24
Salut!

Peux-tu être plus claire s.v.p. Est-ce la barre de défillement de la page ou du div en overflow? A priori y'a pas d'espace entre deux tableaux a moins d'en mettre et de le spécifier.

Donne donc ton code pour que l'on puissent t'aider.

A+, Ghislain
0
perechev Messages postés 6 Date d'inscription jeudi 22 janvier 2004 Statut Membre Dernière intervention 18 avril 2005
18 avril 2005 à 10:42
Tout d'abord, merci d'avoir répondu,

Voici le code : il faudrait que la colonne salarié reste fixe quand je déplace le scroll bar horizontal.


Salarié,
1,
2,
3,
4,
5,
6,
7,
Durée périodique,

----

P1>>,
,
7aa,
7aa,
7aa,
7aa,
7aa,
WE,
WE,
35:00,

----

UEP-1,
UEP-1,
UEP-1,
UEP-2,
UEP-2,
UEP-1,
UEP-1,
 ,

----

P2>>,
,
4e,
5b,
5b,
5b,
5b,
WE,
WE,
24:00,

----

UEP-1,
UEP-1,
UEP-2,
UEP-2,
UEP-2,
UEP-2,
UEP-2,
 ,

----

P3>>,
,
6.5d,
5b,
5b,
5b,
5b,
WE,
WE,
26:30,

----

UEP-2,
UEP-2,
UEP-1,
UEP-1,
UEP-1,
UEP-1,
UEP-1,
 ,

----

P4>>,
,
7.5b,
4b,
4b,
4b,
4b,
WE,
WE,
23:30,

----

UEP-1,
UEP-1,
UEP-2,
UEP-2,
UEP-1,
UEP-2,
UEP-2,
 ,

----

 ,
Total,
 ,
109:00,

----

 ,
Moyenne,
 ,
27:15





Merci d'avance
0
GhislainLavoie Messages postés 289 Date d'inscription vendredi 11 mars 2005 Statut Membre Dernière intervention 3 avril 2008 3
20 avril 2005 à 00:50
Salut!

Tout ça c'est un peu bizard... habituellement, la première conne doit suivre... sinon c'est weird!!!


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<html>
<head>
<title>Untitled</title>
<STYLE type="text/css">
</STYLE>
<script type="text/javascript">
</script>
</head>



width=\"600\" border=\"0\" cellpadding=\"0\" cellspacing=\"1\" bordercolor=\"#004080\" class=\"tableau\">
----
class=\"normalTableau\">
width="25" heigth="44" class="titretableau">,
class="titretableau" width="130" align="center">Salarié,
class="titretableau" width="44" align="center">1,
class="titretableau" width="44" align="center">2,
class="titretableau" width="44" align="center">3,
class="titretableau" width="38" align="center">4,
class="titretableau" width="38" align="center">5,
class="titretableau" width="38" align="center">6,
class="titretableau" width="38" align="center">7,
class="titretableau" width="100" align="center">Durée périodique,

"width:450; height:250;overflow:auto;border: none;margin-top:-12px;">
width=\"600\" border=\"0\" cellpadding=\"0\" cellspacing=\"1\" bordercolor=\"#004080\" class=\"tableau\">
----
class=\"normalTableau\">
width="25" heigth="44" class="titretableau">,
class="titretableau" width="130" align="center">,
class="titretableau" width="44" align="center">,
class="titretableau" width="44" align="center">,
class="titretableau" width="44" align="center">,
class="titretableau" width="38" align="center">,
class="titretableau" width="38" align="center">,
class="titretableau" width="38" align="center">,
class="titretableau" width="38" align="center">,
class="titretableau" width="100" align="center">,

----
class=\"normalTableau\">
width="25" rowspan="2" class="titretableau" OnClick="javascript:affecter(document.formulaire.listunselect,0)">P1&gt;&gt;,
rowspan="2" id="cellule_0" name="cellule_0" onFocus="changerBordure(0);this.className='focus_on'" onFocusOut="this.className='focus_out'">,
width="44" height="100%" align="center" bgcolor="#66FFFF">7aa,
width="44" height="100%" align="center" bgcolor="#66FFFF">7aa,
height="100%" align="center" bgcolor="#66FFFF">7aa,
height="100%" align="center" bgcolor="#66FFFF">7aa,
width="38" height="100%" align="center" bgcolor="#66FFFF">7aa,
width="38" height="100%" align="center" bgcolor="#999999">WE,
width="38" height="100%" align="center" bgcolor="#999999">WE,
width="113" height="100%" align="center">35:00,

----
class=\"normalTableau\">
height="100%" align="center" bgcolor="#00CC99">UEP-1,
height="100%" align="center" bgcolor="#00CC99">UEP-1,
height="100%" align="center" bgcolor="#00CC99">UEP-1,
height="100%" align="center" bgcolor="#FFCC99">UEP-2,
height="100%" align="center" bgcolor="#FFCC99">UEP-2,
height="100%" align="center" bgcolor="#00CC99">UEP-1,
height="100%" align="center" bgcolor="#00CC99">UEP-1,
height="100%" align="center">&nbsp;,

----
class=\"normalTableau\">
width="25" rowspan="2" class="titretableau" OnClick="javascript:affecter(document.formulaire.listunselect,1)">P2&gt;&gt;,
rowspan="2" name="cellule_1" id="cellule_1" onFocus="changerBordure(1);this.className='focus_on'" onFocusOut="this.className='focus_out'">,
width="44" height="100%" align="center" bgcolor="#66FFFF">4e,
width="44" height="100%" align="center" bgcolor="#66FFFF">5b,
width="44" height="100%" align="center" bgcolor="#66FFFF">5b,
width="38" height="100%" align="center" bgcolor="#66FFFF">5b,
width="38" height="100%" align="center" bgcolor="#66FFFF">5b,
height="100%" align="center" bgcolor="#999999">WE,
height="100%" align="center" bgcolor="#999999">WE,
width="113" height="100%" align="center">24:00,

----
class=\"normalTableau\">
height="100%" align="center" bgcolor="#00CC99">UEP-1,
height="100%" align="center" bgcolor="#00CC99">UEP-1,
height="100%" align="center" bgcolor="#FFCC99">UEP-2,
height="100%" align="center" bgcolor="#FFCC99">UEP-2,
height="100%" align="center" bgcolor="#FFCC99">UEP-2,
height="100%" align="center" bgcolor="#FFCC99">UEP-2,
height="100%" align="center" bgcolor="#FFCC99">UEP-2,
height="100%" align="center">&nbsp;,

----
class=\"normalTableau\">
width="25" rowspan="2" class="titretableau" OnClick="javascript:affecter(document.formulaire.listunselect,2)">P3&gt;&gt;,
rowspan="2" name="cellule_2" id="cellule_2" onFocus="changerBordure(2);this.className='focus_on'" onFocusOut="this.className='focus_out'">,
width="44" height="100%" align="center" bgcolor="#66FFFF">6.5d,
width="44" height="100%" align="center" bgcolor="#66FFFF">5b,
width="44" height="100%" align="center" bgcolor="#66FFFF">5b,
width="38" height="100%" align="center" bgcolor="#66FFFF">5b,
width="38" height="100%" align="center" bgcolor="#66FFFF">5b,
height="100%" align="center" bgcolor="#999999">WE,
height="100%" align="center" bgcolor="#999999">WE,
width="113" height="100%" align="center">26:30,

----
class=\"normalTableau\">
height="100%" align="center" bgcolor="#FFCC99">UEP-2,
height="100%" align="center" bgcolor="#FFCC99">UEP-2,
height="100%" align="center" bgcolor="#00CC99">UEP-1,
height="100%" align="center" bgcolor="#00CC99">UEP-1,
height="100%" align="center" bgcolor="#00CC99">UEP-1,
height="100%" align="center" bgcolor="#00CC99">UEP-1,
height="100%" align="center" bgcolor="#00CC99">UEP-1,
height="100%" align="center">&nbsp;,

----
class=\"normalTableau\">
width="25" rowspan="2" class="titretableau" OnClick="javascript:affecter(document.formulaire.listunselect,3)">P4&gt;&gt;,
rowspan="2" name="cellule_3" id="cellule_3" onFocus="changerBordure(3);this.className='focus_on'" onFocusOut="this.className='focus_out'">,
width="44" height="100%" align="center" bgcolor="#66FFFF">7.5b,
width="44" height="100%" align="center" bgcolor="#66FFFF">4b,
width="44" height="100%" align="center" bgcolor="#66FFFF">4b,
width="38" height="100%" align="center" bgcolor="#66FFFF">4b,
width="38" height="100%" align="center" bgcolor="#66FFFF">4b,
height="100%" align="center" bgcolor="#999999">WE,
height="100%" align="center" bgcolor="#999999">WE,
width="113" height="100%" align="center">23:30,

----
class=\"normalTableau\">
height="100%" align="center" bgcolor="#00CC99">UEP-1,
height="100%" align="center" bgcolor="#00CC99">UEP-1,
height="100%" align="center" bgcolor="#FFCC99">UEP-2,
height="100%" align="center" bgcolor="#FFCC99">UEP-2,
height="100%" align="center" bgcolor="#00CC99">UEP-1,
height="100%" align="center" bgcolor="#FFCC99">UEP-2,
height="100%" align="center" bgcolor="#FFCC99">UEP-2,
height="100%" align="center">&nbsp;,

----
class=\"normalTableau\">
width="25" class="titretableau">&nbsp;,
height="100%">Total,
height="100%" colspan="7" align="center" bgcolor=#F5F5FF>&nbsp;,
width="113" height="100%" align="center">109:00,

----
class=\"normalTableau\">
width="25" class="titretableau">&nbsp;,
height="100%">Moyenne,
height="100%" colspan="7" align="center" bgcolor=#F5F5FF>&nbsp;,
width="113" height="100%" align="center">27:15,

</html>

A+, Ghislain
0
Rejoignez-nous