J'ai un comportement étrange avec mozilla que je n'ai pas sur les autres navigateurs (webkit, ms)
Le code :
Si vous avez une solution, je suis preneur
Modifié par Pyroxn (16 Nov 2011 - 00:06)
Le code :
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns ="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr">
<head>
<title>-_-</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="stylesheet" type="text/css" href="./css.css" media="screen" />
</head>
<body>
<div id="content_background">
<ul>
<li>
<a href="#" title="opif">
<h3>opif</h3>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
<em>En savoir</em>
</p>
</a>
</li>
<li>
<a href="#" title="opif2">
<h3>opif2</h3>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
<em>En savoir</em>
</p>
</a>
</li>
</ul>
</div>
</body>
</html>
html, body, div, img, li, form, fieldset, input, textarea, h1, h2, h3, h4, h5, h6, p, ul, ol, dl, pre, table, blockquote {
margin: 0;
padding: 0;
}
a:link, a:visited, a:hover, a:active, a:focus {
text-decoration: none;
}
html {
}
body {
font-family: 'Trebuchet MS',Arial,Helvetica,Sans-serif;
line-height: 20px;
word-spacing: 1px;
font-size: 12px;
color: gray;
}
/*****CONTENU*****/
p {
font-size: 14px;
text-align: justify;
line-height: 20px;
word-spacing: 1px;
margin-bottom: 20px;
padding-bottom: 20px;
}
a:link, a:visited, a:hover, a:active, a:focus {
text-decoration: none;
}
a {
color: gray;
}
#content {
width: 884px;
padding: 20px 0;
}
#content_background ul {
list-style: none;
}
#content_background li {
-moz-border-radius: 15px;
-webkit-border-radius: 15px;
-o-border-radius: 15px;
border-radius: 15px 15px 15px 15px;
float: left;
margin: 0 20px 10px;
padding: 20px 5px 25px;
width: 171px;
cursor: pointer;
}
#content_background li:hover {
background-color: #d8eaff;
}
#content_background li p {
text-align: inherit;
margin-bottom: 0;
padding-bottom: 0;
}
#content_background li em {
display: block;
color: #56616A;
margin-top: 15px;
font-weight: bold;
margin-right: 5px;
text-align: right;
}
#content_background li em:after {
content: ' +';
}
#content_background li a:hover em:after {
margin-left: 10px;
content: ' >>';
}
Si vous avez une solution, je suis preneur
Modifié par Pyroxn (16 Nov 2011 - 00:06)