sebP59 | bonjour à tous
voila g un petit soucis d'affichage d'image entre firefox et IE sachant que sous firefox tout marche impec
le probleme d'affichage se situe au menu et sur le corp du text:
Code :
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" >
- <head>
- <title>site </title>
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
- <link rel="stylesheet" media="screen" type="text/css" title="Exemple" href="test.css" />
- </head>
- <body>
-
- <!-- en-tête -->
- <div id="en_tete">
- </div>
- <div >
- <MARQUEE>website</MARQUEE>
- </div>
- <!-- menu -->
- <div>
- <ul id="menu">
- <li><a href="page.php">lien1</a></li>
- <li><a href="page.php">lien2</a></li>
- <li><a href="page.php">lien3</a></li>
- <li><a href="page.php">lien4</a></li>
- <li><a href="page.php">lien5</a></li>
- </ul>
- </div>
- <!-- corps -->
- <div id="corps">
- <h1>Lorem ipsum</h1>
- <p>
- Lorem ipsum<br />
- Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aliquam pretium facilisis pede.
- Sed luctus. Mauris ullamcorper. Cras pharetra dapibus nibh. Vivamus nunc enim, condimentum et, congue vel, iaculis et, urna.
- Maecenas non dolor sit amet enim aliquet sodales. Quisque vitae purus. Aliquam vehicula magna non elit. Morbi luctus aliquam felis.
- Nunc tortor nunc, commodo a, commodo eu, volutpat vehicula, massa. Mauris pharetra interdum erat.
- </p>
-
- <h2>Aliquam aliquam</h2>
- <p>
- Aliquam aliquam, arcu vel porttitor pharetra, erat augue aliquet ligula, sed bibendum leo ante quis nunc. Sed nisi metus, convallis sit amet,
- varius in, egestas quis, risus. Etiam a quam. Nulla facilisi. Mauris posuere, lorem eget commodo sodales, ante nisl tincidunt magna,
- nec porttitor massa ante in erat. Etiam ultrices leo quis arcu euismod feugiat. Phasellus eleifend quam quis quam. Nunc condimentum <br />
- </p>
- </div>
- <!-- pied de page -->
- <div id="pied_de_page">
- <p>Copyright </p>
- </div>
- </body>
- </html>
|
css:
Code :
- #menu
- { float: left;
- margin: 0;
- padding:0;
- width: 120px;
- border : solid 1px #000000;
- border-bottom: none;
- background-image: url("../IMAGE/transparent.png" );
- }
- #menu li
- {
- list-style-type:none;
- margin: 0;
- padding: 0;
- border-bottom: 2px solid #000000;
- }
- #menu a
- {
- text-decoration:none;
- color:#000000;
- display:block;
- padding-left:1.5em;
- }
- #menu a:hover
- {
- background-image: url("../IMAGE/transparent.png" );
- }
- /* corps */
- #corps
- {
- margin-left: 140px;
- margin-bottom: 20px;
- padding: 5px;
-
- color: #000000;
- /*background-color: #626262;*/
- background-image: url("../IMAGE/transparent.png" );
- background-repeat: repeat-x;
-
- border: 2px solid black;
- }
|
voila je vous remercie d'avance |