désolé mais je n'y arrive pas
Je comprends tres bien le principe et le détournement du a puisque ie ne comprend que ça mais je ne vois pas ni ou le mettre ni comment le mettre
un bout de code css :
body {
margin: 0;
text-align: center;
background-color: #402D20;
color: #FFFFFF;
}
#global {
position:absolute;
left: 50%;
top: 50%;
width: 750px;
height: 550px;
margin-top: -275px;
margin-left: -375px;
background-color: #BFA38F;
color: #FFFFFF;
}
.header {
height: 100px;
color: #ffffff;
background-color: #BFA38F;
background-image: url(visuels/png/a.png);
}
.menu {
left: 0px;
width: 200px;
position: absolute;
height: 400px;
color: #ffffff;
background-color: #BFA38F;
background-image: url(visuels/png/b.png);
}
.menu:hover {
background-color: #BFA38F;
background-image: url(visuels/png/_menuhover.png);
}
.frame {
margin-left: 200px;
overflow: auto;
width: 530px;
height: 400px;
color: #FFFFFF;
margin-right: 20px;
background-color: #BFA38F;
}
.right {
right: 0px;
width: 20px;
position: absolute;
height: 400px;
color: #ffffff;
background-color: #BFA38F;
background-image: url(visuels/png/c.png);
}
#footer {
height: 50px;
font-family: "Trebuchet MS", Arial, Heveltica, sans-serif;
font-size: 0.8em;
font-style: normal;
font-weight: normal;
color: #FFFFFF;
background-color: #BFA38F;
background-image: url(visuels/png/d.png);
}
.foot_left {
float: left;
margin-left: 5px;
}
.foot_right {
float: none;
}
a {
text-decoration: none;
color: #FFFFFF;
}
a:visited {
text-decoration: none;
color: #FFB580;
}
a:hover {
text-decoration: none;
color: #FF8F40;
background: url(none); /* correction d'un bug IE */
}
a:active/*ie*/ {
text-decoration: none;
color: #FF6A00;
}
a:focus/*gecko*/ {
text-decoration: none;
color: #FF6A00;
}
h1 {
font-family: "Trebuchet MS", Arial, Heveltica, sans-serif;
font-style: normal;
color: #402D20;
font-size: 1.2em;
font-weight: bold;
text-align: center;
margin-top: 20px;
}
h2 {
font-family: "Trebuchet MS", Arial, Heveltica, sans-serif;
font-style: normal;
color: #402D20;
font-size: 1em;
font-weight: bold;
text-align: left;
margin-right: 20px;
margin-left: 15px;
margin-top: 20px;
}
p {
font-family: "Trebuchet MS", Arial, Heveltica, sans-serif;
font-style: normal;
color: #402D20;
font-size: 0.9em;
font-weight: normal;
text-align: justify;
margin-right: 20px;
margin-bottom: 20px;
margin-left: 15px;
margin-top: 20px;
}
.menugauche {
margin: 20px 0px 0px 20px;
list-style-type: none;
text-align: left;
padding: 0px;
color: #ffffff;
}
.menugauche li {
font-family: "Trebuchet MS", Arial, Heveltica, sans-serif;
font-size: 0.9em;
font-style: normal;
font-weight: bold;
color: #ffffff;
margin-bottom: 5px;
}
.menugauche a {
margin: 0px;
color: #402410;
text-decoration: none;
font-family: "Trebuchet MS", Arial, Heveltica, sans-serif;
font-size: 0.9em;
font-style: normal;
font-weight: bold;
}
.menugauche a:visited {
margin: 0px;
color: #FFB580;
font-family: "Trebuchet MS", Arial, Heveltica, sans-serif;
font-size: 0.9em;
font-style: normal;
font-weight: bold;
text-decoration: none;
}
.menugauche a:hover {
margin: 0px;
color: #FF8F40;
font-family: "Trebuchet MS", Arial, Heveltica, sans-serif;
font-size: 0.9em;
font-style: normal;
font-weight: bold;
text-decoration: none;
}
.menugauche a:active/*ie*/ {
margin: 0px;
color: #FF6A00;
font-family: "Trebuchet MS", Arial, Heveltica, sans-serif;
font-size: 0.9em;
font-style: normal;
font-weight: bold;
text-decoration: none;
}
.menugauche a:focus/*gecko*/ {
margin: 0px;
color: #FF6A00;
font-family: "Trebuchet MS", Arial, Heveltica, sans-serif;
font-size: 0.9em;
font-style: normal;
font-weight: bold;
text-decoration: none;
}
Et html :
<body>
<div id="global">
<div class="header">
</div>
<div class="menu">
<ul class="menugauche">
<li>Menu</li>
...ETC
Voila...Ou mettre ce fameux a dans le html et dans le css
Merçi