CONNEXION
  • RetourJeux
    • Sorties
    • Hit Parade
    • Les + populaires
    • Les + attendus
    • Soluces
    • Tous les Jeux
    • Gaming
  • RetourActu Gaming
    • News
    • Astuces
    • Tests
    • Previews
    • Toute l'actu gaming
  • RetourBons plans
    • Bons plans
    • Bons plans Smartphone
    • Bons plans Hardware
    • Bons plans Image et Son
    • Bons plans Amazon
    • Bons plans Cdiscount
    • Bons plans Decathlon
    • Bons plans Fnac
    • Tous les Bons plans
  • RetourJVTech
    • Actus High-Tech
    • Intelligence Artificielle
    • Smartphones
    • Mobilité urbaine
    • Hardware
    • Image et son
    • Tutoriels
    • Tests produits High-Tech
    • Guides d'achat High-Tech
    • JVTech
  • RetourCulture
    • Actus Culture
    • Culture
  • RetourVidéos
    • A la une
    • Gaming Live
    • Vidéos Tests
    • Vidéos Previews
    • Gameplay
    • Trailers
    • Chroniques
    • Replay Web TV
    • Toutes les vidéos
  • RetourForums
    • Hardware PC
    • PS5
    • Switch 2
    • Xbox Series
    • Switch
    • Pokemon pocket
    • FC 25 Ultimate Team
    • League of Legends
    • Tous les Forums
  • PC
  • PS5
  • Xbox Series
  • Switch 2
  • PS4
  • One
  • Switch
  • iOS
  • Android
  • MMO
  • RPG
  • FPS
En ce moment Genshin Impact Valhalla Breath of the wild Animal Crossing GTA 5 Red dead 2
Liste des sujets

Fixer un menu

Iakovenko
Iakovenko
Niveau 4
14 avril 2006 à 16:38:55

Salut,

Je suis débutant et je commence à creer mon site.
J´ai commencé par le menu (se situant à gauche). Seul problème, je n´arrive pas à le fixer. Lorsque je fais entrée pour écrire à l´interieur de la page, le menu saute de lignes lui aussi.
Merci à ceux qui auront le courage de m´expliquer, je suis un noob dans le domaine :( lol.

Voici le code :

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Trans
itional//EN">
<html>
<head>
<title>accueil</title>
</head>
<body style="background-image: url(essai6.jpg);">
<br>
<br>
<br>
<br>
<br>
<span style="font-weight: bold;"></span><br>

<br>

<br>
<table style="width: 130px; height: 148px;" border
="1"
cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td
style="text-align: center; font-family: FairydustB; background-color: rgb(204, 0, 0);"><span
style="color: rgb(255, 255, 0); font-weight: bold; font-family: Latha;">Le
club</span></td>
</tr>
<tr>
<td style="color: rgb(255, 102, 102);" width="100%">
<div
style="text-align: center; background-color: rgb(255, 204, 102);"><span
style="color: rgb(255, 0, 0); font-weight: bold;">Joueurs</span><br
style="color: rgb(255, 0, 0); font-weight: bold;">
<span style="color: rgb(255, 0, 0); font-weight: bold;">Staff</span><br
style="color: rgb(255, 0, 0); font-weight: bold;">
<span style="color: rgb(255, 0, 0); font-weight: bold;">Supporters</span><br
style="color: rgb(255, 0, 0); font-weight: bold;">
<span style="color: rgb(255, 0, 0); font-weight: bold;">Résultats<br>
Transferts<br style="color: rgb(255, 0, 0); font-weight: bold;">
</span><span
style="color: rgb(255, 0, 0); font-weight: bold;">Archives</span></div>
</td>
</tr>
</tbody>
</table>

<script type="text/javascript">/*
Floating Menu script- Roy Whittle (
http://www.javascript-fx.com/)
Script featured on/available at
http://www.dynamicdrive.com/
This notice must stay intact for use

  • /

//POUR UN MENU EN HAUT ENTREZ "frombottom" OU "fro
mtop" POUR UN MENU EN BAS
var verticalpos="fromtop"
if (!document.layers)
document.write(´</div>´)
function JSFX_FloatTopDiv()
{
var startX = 3,
startY = 150;
var ns = (navigator.appName.indexOf("Netscape") != -1);
var d = document;
function ml(id)
{
var
el=d.getElementById?d.getElementById(id):d.all?d.a
ll[id]:d.layers[id];
if(d.layers)el.style=el;

el.sP=function(x,y){this.style.left=x;this.style.t
op=y;};
el.x = startX;
if (verticalpos=="fromtop")
el.y = startY;
else{
el.y = ns ? pageYOffset + innerHeight : document.body.scrollTop + document.body.clientHeight;
el.y -= startY;
}
return el;
}
window.stayTopLeft=function()
{
if (verticalpos=="fromtop"){
var pY = ns ? pageYOffset : document.body.scrollTop;
ftlObj.y += (pY + startY - ftlObj.y)/8;
}
else{
var pY = ns ? pageYOffset + innerHeight : document.body.scrollTop + document.body.clientHeight;
ftlObj.y += (pY - startY - ftlObj.y)/8;
}
ftlObj.sP(ftlObj.x, ftlObj.y);
setTimeout("stayTopLeft()", 10);
}
ftlObj = ml("divStayTopLeft");
stayTopLeft();
}
JSFX_Float</script>
<table style="width: 130px; height: 64px;" border="1"
cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td
style="text-align: center; font-family: FairydustB; background-color: rgb(204, 0, 0);"><span
style="color: rgb(255, 255, 0); font-weight: bold; font-family: Latha;"><span
style="color: rgb(255, 255, 0);">Divers</span><br>
</span></td>
<td></td>
</tr>
<tr>
<td
style="color: rgb(255, 255, 0); text-align: center; background-color: rgb(255, 204, 102);"
width="100%"> <span
style="color: rgb(255, 0, 0); font-weight: bold;">Forum</span><br
style="color: rgb(255, 0, 0); font-weight: bold;">
<span style="color: rgb(255, 0, 0); font-weight: bold;">Contacts</span><br
style="color: rgb(255, 0, 0); font-weight: bold;">
<span style="color: rgb(255, 0, 0); font-weight: bold;">Partenaires</span></td>
<td><a

href="file:///depeches/story_113439_LFP-Thiriez-at
taque-Tigana.shtml"
border="0"><seup></seup></a></td>
</tr>
</tbody>
</table>
<script type="text/javascript">/*
Floating Menu script- Roy Whittle (
http://www.javascript-fx.com/)
Script featured on/available at
http://www.dynamicdrive.com/
This notice must stay intact for use

  • /

//POUR UN MENU EN HAUT ENTREZ "frombottom" OU "fro
mtop" POUR UN MENU EN BAS
var verticalpos="fromtop"
if (!document.layers)
document.write(´</div>´)
function JSFX_FloatTopDiv()
{
var startX = 3,
startY = 150;
var ns = (navigator.appName.indexOf("Netscape") != -1);
var d = document;
function ml(id)
{
var
el=d.getElementById?d.getElementById(id):d.all?d.a
ll[id]:d.layers[id];
if(d.layers)el.style=el;

el.sP=function(x,y){this.style.left=x;this.style.t
op=y;};
el.x = startX;
if (verticalpos=="fromtop")
el.y = startY;
else{
el.y = ns ? pageYOffset + innerHeight : document.body.scrollTop + document.body.clientHeight;
el.y -= startY;
}
return el;
}
window.stayTopLeft=function()
{
if (verticalpos=="fromtop"){
var pY = ns ? pageYOffset : document.body.scrollTop;
ftlObj.y += (pY + startY - ftlObj.y)/8;
}
else{
var pY = ns ? pageYOffset + innerHeight : document.body.scrollTop + document.body.clientHeight;
ftlObj.y += (pY - startY - ftlObj.y)/8;
}
ftlObj.sP(ftlObj.x, ftlObj.y);
setTimeout("stayTopLeft()", 10);
}
ftlObj = ml("divStayTopLeft");
stayTopLeft();
}
JSFX_FloatTopDiv();
</script>
<br>
<br>
<seus><a

href="file:///depeches/story_113439_LFP-Thiriez-at
taque-Tigana.shtml"
class="l25"
target="_blank"><seti></seti></a><seus></seus></se
us><br>
</body>
</html>

--Rpgmaster--
--Rpgmaster--
Niveau 10
14 avril 2006 à 16:54:55

comme si on allait lire tout ça

Iakovenko
Iakovenko
Niveau 4
14 avril 2006 à 17:07:04

Il y a rien à lire :(
c´est juste pour demander un conseil, et que vous ayez une idée de la forme de mon menu :ok:

maxi-rom-iso1
maxi-rom-iso1
Niveau 6
14 avril 2006 à 17:08:09

Tu l´a pris sur quelle site d´abord ?

parce que si tu l´a pris sur un site de code, tu dois surement avoir une déscription du code quequ´il fait.....

personnélement, je vais pas lire tout le code parce que c´est trop long ca pour un simple menu :oui:

Sous forums
  • Aide à l'achat Mac
  • Macintosh
  • Création de sites web
  • Création de Jeux
  • Linux
  • Programmation
  • Internet
  • Steam Deck
  • Hardware
La vidéo du moment