Bonjour!
Bon, je viens de regarder un toturiel sur alsacreations:
http://tutorials.alsacreations.com/cadre/
Bah oui je suis tombé sur la verison anglaise
bref.
J'ai essayé de le reproduire, en y apportant mes petites modifs. Mais évidemment, ca ne marche pas sur IE!
Image sur IE
Sur Firefox ca s'affiche #1. Mais la je sais pas pourquoi ...
HTML
CSS
Merci de votre aide, d'ici la je continue de chercher!
Modifié par DarkMalow (26 Sep 2005 - 23:07)
Bon, je viens de regarder un toturiel sur alsacreations:
http://tutorials.alsacreations.com/cadre/
Bah oui je suis tombé sur la verison anglaise

J'ai essayé de le reproduire, en y apportant mes petites modifs. Mais évidemment, ca ne marche pas sur IE!
Image sur IE
Sur Firefox ca s'affiche #1. Mais la je sais pas pourquoi ...
HTML
<div id="container">
<div class="widthbloc" style="width: 400px;">
<dl>
<dt><img class="topright" src="images/topright.gif" alt="" /><img class="title" src="images/login.gif" alt="Connexion" />
</dt>
<dd>
<form name="frm_login" action="<?=$_SERVER['PHP_SELF']?>" method="post">
<table>
<tr>
<td style="text-align: right;">Nom d'utilisateur:</td>
<td><input type="text" name="txt_user" /></td>
</tr>
<tr>
<td style="text-align: right;">Mot de passe:</td>
<td><input type="password" name="txt_pass" /></td>
</tr>
</table><br />
<input type="submit" value="Se connecter" /><br /><br />
<a href="register.php">S'inscrire</a>
</form>
</dd>
<dd class="bottom"><img class="bottomright" src="images/bottomright.gif" alt="" /></dd>
</dl>
</div>
</div>
CSS
body {
font-family: Verdana, sans-serif;
color: #0486b0;
background-color: white;
text-align: center;
margin: 0;
}
body, td {
font-size: 10pt;
}
table {
width: 100%;
}
form {
margin: 0;
text-align: center;
}
a {
text-decoration: none;
font-weight: bold;
}
a:link, a:visited, a:active {
color: #054a61;
}
a:hover {
color: #0486b0;
text-decoration: underline;
}
a img {
border: 0;
}
#container {
margin-left: auto;
margin-right: auto;
width: 75%;
}
#logout {
text-align: center;
}
.widthbloc {
margin-left: auto;
margin-right: auto;
}
dl, dt, dd {
margin: 0;
padding: 0;
}
dl {
/*width: 75%; */
}
dt {
height: 50px;
background: #fff url(../images/top.gif) top left no-repeat;
line-height: 0;
text-align: center; /* centered title, bug IE*/
}
dd {
border: solid #0486b0; /* sizse and color for borders on the right and left */
border-width: 0 5px;
padding: 0 10px; /* left and right padding to avoid text appearing over borders */
background-color: #c4f2fc;
}
.bottom {
height: 50px;
background: #fff url(../images/bottom.gif) bottom left no-repeat;
border: 0 none; /* no lateral border for the lower part */
padding: 0; /* no text, so no padding */
}
.title {
display: block; /* title image places in block to avoid errors of spacing */
margin: auto; /* centered title */
}
.topright, .bottomright { /* position of upper floating corners */
float: right;
}
Merci de votre aide, d'ici la je continue de chercher!
Modifié par DarkMalow (26 Sep 2005 - 23:07)