no save
Assistance
Achat
News

Forum | webmastering
choix du design du site
existance, le lun. 12 juin 2006 à 23:51:03
Merci pour votre aide , mais mon code ne fonctionne pas.
Je vous le met en esperant que vous puissiez me dire d'ou vient le probleme , si mon code n'est pas correct , pouvez vous me dire a quel endroit svp , merci d'avance! Peut etre que je dois ajouter quelque chose a mes css en rapport avec le javascript?

VOICI LE CODE DE MON SITE AINSI QUE LE "STYLESWITCHER INTEGRé

<html>
<head>
<link rel="stylesheet" href="css.css" type="text/css">
<link rel="alternate stylesheet" href="css2.css" type="text/css" title="css2">
<script type="text/javascript" src="styleswitcher.js"></script>
</head>
<body background="textureor.jpg" text="#33CCCC">
<a href="#" onclick="setActiveStyleSheet('css'); return false;">activer le design classique</a>
<a href="#" onclick="setActiveStyleSheet('css2'); return false;">activer le design 2</a>

<!tableau de gauche>
<div id="gauche"> </div>
<!tableau de gauche>

<table width="180" style="position: absolute; left: 20 ; top: 230" height="50">
<tr>
<td style="background: url(textureor.jpg)"><center><b><h1>menu</h1></b>
</td>
</tr>
</table>

<div id="centre">Ce site est en train de se construire .. en attendant vous savez pas ... </div>

<div id="droite">Qui je suis .</div>


JE VOUS DONNE AUSSI MES DEUX CSS AU CAS OU

LE PREMIER

#haut
{width: 980px;
height: 200px;
background-image: url("images/flammesb.jpg")
}


#gauche
{width: 200px;
height: 600px;
background-image: url("images/cmn.jpg");
}

#centre
{width: 560px;
height: 600px;
background-image: url("images/cmn2.jpg");
position: absolute;
margin-left: 210px;
margin-top: -600px;
}

#droite
{width: 200px;
height: 600px;
background-image: url("images/cmn3.jpg");
position: absolute;
margin-left: 780px;
margin-top: -600px;
}

ET LE DEUXIEME

#haut
{width: 980px;
height: 200px;
background-color: green
}


#gauche
{width: 200px;
height: 600px;
background-color: green;
}

#centre
{width: 560px;
height: 600px;
background-color: green;
position: absolute;
margin-left: 210px;
margin-top: -600px;
}

#droite
{width: 200px;
height: 600px;
background-color: green;
position: absolute;
margin-left: 780px;
margin-top: -600px;
}

J'ATTEND VOTRE AIDE AU PLUS VITE

MERCI!
PrécédentGihef
juin 06
Gihef
juin 06
Suivant
REPONSES
antic80
juin 06
Gihef
juin 06
existance
juin 06
Gihef
juin 06
existance
juin 06
Version Web
Réalisé par RedShift
no save