-
modifier un code html
Bonjour
j'ai un code, que je souhaite modifier
je veux mettre un fond avec la couleur suivante : F5EFDC
et je veux que les liens ont une couleur vert-olive , au lieu du bleu
Code PHP:
<!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>
$db = mysql_connect($sql_server,$sql_user,$sql_pass)or die("Erreur de connexion");
mysql_select_db($sql_base,$db)or die("Erreur de selection de base");
$sql = 'SELECT lastpostid,title,lastposter FROM '. $table_prefix. 'thread ORDER BY lastpost DESC LIMIT 0,'.$lastmax;
$req = mysql_query($sql) or die('Erreur SQL :'.$mysql_error());
?>
<table>
<caption>En direct du forum </caption>
<thead>
<tr>
<td>Sujet</td>
<td>Membres</td>
</tr>
</thead>
<tbody>
<?
while($res = mysql_fetch_array($req)){
?>
<tr>
<td><a href="<?php echo $forumURL; ?>/showthread.php?p=<?php echo $res['lastpostid']; ?>#post<?php echo $res['lastpostid']; ?>" target=_blank><?php echo $res['title']; ?></a></td>
<td><?php echo $res['lastposter']; ?></td>
</tr>
<?php
}
?>
</tbody>
</table>
</body>
</html>
-
Code:
<style type="text/css">
<!--
body {
background-color: F5EFDC;
}
A {
color: #808000;
}
-->
</style>
Tu places ça dans le header, juste au-dessus de la ligne :
</head>
-
Merciiiiiiiiiiiiiiiiiiiiiiiiiiiiiii Eve-ra ,nickel!
:-)