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 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69
|
<style type="text/css" media="screen">
<!--
body {
margin: 0;
padding: 0;
background: white;
font: 80% verdana, arial, sans-serif;
}
dl, dt, dd, ul, li {
margin: 0;
padding: 0;
list-style-type: none;
}
#menuh {
position: absolute; /* placement du menu, à modifier selon vos besoins */
top: 0;
left: 0;
z-index:100;
width: 100%; /* correction pour Opera */
}
#menuh dl {
float: left;
width: 107px;
height: 20px
}
#menuh dt {
cursor: pointer;
text-align: center;
font-weight: bold;
background: #039;
border: 1px solid gray;
margin: 1px;
}
#menuh dd {
display: none;
border: 1px solid gray;
}
#menuh li {
text-align: center;
background: #fff;
}
#menuh li a, #menuh dt a {
color: #000;
text-decoration: none;
display: block;
height: 100%;
border: 0 none;
}
#menuh li a:hover, #menuh li a:focus, #menuh dt a:hover, #menuh dt a:focus {
background: #06f;
}
#site {
position: absolute;
z-index: 1;
top : 70px;
left : 10px;
color: #000;
background-color: #ddd;
padding: 5px;
border: 1px solid gray;
}
</style> |
Partager